On Fri, 18 Oct 2002 12:33:19 CDT, you said: > > > if ((p = read (n, lbuf, 65530)) < 1) > > looks great. except for the read parameter '65530' why for how come? > > That's so the entire buffer gets written to disk at once, instead of > forcing a write for every byte, wihch would take forever. I think he meant why it uses 2**16 - 6 rather than the 2**16 you'd expect. -- Valdis Kletnieks Computer Systems Senior Engineer Virginia Tech
This archive was generated by hypermail 2b30 : Sat Oct 19 2002 - 15:46:03 PDT