4.2BSB Buffered I/O buffersize

jsdy at hadron.UUCP jsdy at hadron.UUCP
Tue Jan 28 07:47:44 AEST 1986


'man 3 setbuf' ...
setbuf(fd, (char *) NULL); will set input and output to be
unbuffered.  It is not clear whether the 4.2-only functions
setbuffer() (to change buffer size) and setlinebuf() work
on input as well as output.  The former is documented to do
so; the latter is documented only to work on stderr and stdout.
Be bold.  Experiment a little.
-- 

	Joe Yao		hadron!jsdy at seismo.{CSS.GOV,ARPA,UUCP}



More information about the Comp.unix mailing list