This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Fgets is not working on linux/gcc3.2.1
- From: Bharathi S <bharathi at lantana dot tenet dot res dot in>
- To: GNU GCC <gcc-help at gcc dot gnu dot org>
- Date: Thu, 10 Apr 2003 13:35:38 +0530 (IST)
- Subject: 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. (_/\