delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/07/26/20:57:24

Date: Tue, 27 Jul 93 10:09:06 CST
From: michaels AT vsl DOT com DOT AU (Michael Snoswell)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: creat doesn't use proper default filetype


> When porting a copy of apps that use creat I noticed that the files
> opened were in "binary" mode instead of the default text mode.

gcc is meant to open files in binary mode by default, which is what unix all
compilers do. Text mode is the default for DOS compilers :-)

cheers
	Michael Snoswell

- Raw text -


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