Date: Tue, 31 May 94 14:41:10 -0400 From: dj AT ctron DOT com (DJ Delorie) To: leisner AT sdsp DOT mc DOT xerox DOT com Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: stdin, stdout and friends, was: fstat() yet again > What does O_BINARY actually do? The read() calls strip out CRs and stop at ^Z if you use O_TEXT instead of O_BINARY. write() puts them back.