This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Fgets is not working on linux/gcc3.2.1


On Thu, 10 Apr 2003, Ajay Bansal wrote:

> But then, would the behavior of fopen be different on 
> Soalris/Linux!!!!!!!!!

I am NOT an expert :) man fopen gives me the following infos :)

 "a" --  Open for writing.  The file is created if it does not 
         exist.  The stream is positioned at the end of the
         file.

"a+" --  Open for reading and writing.  The file is created if 
         it does not exist.  The stream  is  positioned  at the 
         end of the file.

The fopen and freopen functions conform to ANSI X3.159-1989 (``ANSI
C'').  The fdopen function conforms to IEEE Std1003.1-1988
(``POSIX.1'').

HTH :)
-- 
Bharathi S, IndLinuX Team,  (__)
DON Lab,      TeNeT Group,  oo )
IIT-Madras, Chennai-INDIA.  (_/\



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]