Buffering problems in pipes
VLD/VMB
gwyn at BRL.ARPA
Thu Dec 19 06:35:28 AEST 1985
I think it would be a nice idea if the STDIO package
would treat pipes much like terminals by default; i.e.,
not try to fill the whole BUFSIZ buffer but just use
whatever data the read() returns. (I don't think
anything useful can be done about output to a pipe,
since allowing single-character write() would be too
inefficient for general use.)
Would this cause problems for anyone? If not, let's
do it..
More information about the Comp.unix.wizards
mailing list