Date: Wed, 9 Dec 1998 19:23:52 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: DJ Delorie cc: HANRIGOU AT cgste DOT mq, djgpp AT delorie DOT com Subject: Re: read/write in binary mode: fopen/open behaviour In-Reply-To: <199812091636.LAA06692@envy.delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Wed, 9 Dec 1998, DJ Delorie wrote: > Thus, it has nothing to say about manipulating the > binary-ness of files. ANSI doesn't have anything to say about the OS > layer underneath fopen(). It figures. Still, our code seems to be just right: `fopen' calls `open' with O_BINARY when you use "rb" or "wb".