www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/05/31/15:28:39

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.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019