delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/27/15:41:26

From: dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
Subject: RE: ASCII and BINARY files. Why?
27 Jan 1997 15:41:26 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <009AF032.C1112B80.8475.cygnus.gnu-win32@ifk20.mach.uni-karlsruhe.de>
Original-To: smueller AT microsoft DOT com
Original-CC: gnu-win32 AT cygnus DOT com, dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Hi, you wrote:

: ANSI C does not define that a 't' in the second argument to fopen
: indicates text mode.  ANSI only defines that a 'b' indicates binary mode.

Exactly! I just checked K&R 2.ed and "man fopen" on linux, hp-ux and DECunix,
and they mention "b" only.
I'm to lazy to check O_TEXT, too 8-)


Bye, Heribert (dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de)
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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