how safe is it to read/write with fopen'ed files?

Peter Honeyman honey at down.FUN
Fri Sep 6 11:30:41 AEST 1985


note that the fread/frwite calls are to the file being transferred,
not to the i/o channel.  i applied this fix to e, x, d, and even g,
i.e., to all the protocols, since they were all freading and fwriting
in BUFSIZ units.  i didn't bother to measure the speedup ...

	peter

ps:  it appears this observation was made independently and
simultaneously by norman wilson and mike bianchi.  obviously,
an idea whose time had come.



More information about the Comp.unix.wizards mailing list