delorie.com/archives/browse.cgi | search |
Date: | Wed, 9 Dec 1998 11:36:12 -0500 |
Message-Id: | <199812091636.LAA06692@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | eliz AT is DOT elta DOT co DOT il |
CC: | HANRIGOU AT cgste DOT mq, djgpp AT delorie DOT com |
In-reply-to: | <Pine.SUN.3.91.981209123127.7705K-100000@is> (message from Eli |
Zaretskii on Wed, 9 Dec 1998 12:31:58 +0200 (IST)) | |
Subject: | Re: read/write in binary mode: fopen/open behaviour |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 981209123127 DOT 7705K-100000 AT is> |
Reply-To: | djgpp AT delorie DOT com |
> DJ, does Posix say anything about O_BINARY in `open', or whether "rb" > should imply the underlying handle is open in binary mode? POSIX says that all files are effectively binary. It does not allow text files to differ from binary files, even though ANSI explicitly allows it. 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().
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |