Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!whuxl!whuxlm!akgua!gatech!ut-sally!seismo!rlgvax!hadron!jsdy From: jsdy@hadron.UUCP Newsgroups: net.unix Subject: Re: 4.2BSB Buffered I/O buffersize Message-ID: <211@hadron.UUCP> Date: Mon, 27-Jan-86 16:47:44 EST Article-I.D.: hadron.211 Posted: Mon Jan 27 16:47:44 1986 Date-Received: Thu, 30-Jan-86 05:34:29 EST References: <546@well.UUCP> Reply-To: jsdy@hadron.UUCP (Joseph S. D. Yao) Organization: Hadron, Inc., Fairfax, VA Lines: 10 Keywords: buffered I/O setbuf Summary: setbuf(3) '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@seismo.{CSS.GOV,ARPA,UUCP}