view doc/posix-functions/fopen.texi @ 9960:9f9682a4b630

Replace the isw* functions on Linux libc5.
author Bruno Haible <bruno@clisp.org>
date Tue, 22 Apr 2008 01:56:52 +0200
parents 070329237839
children 8532ecccedda
line wrap: on
line source

@node fopen
@section @code{fopen}
@findex fopen

POSIX specification: @url{http://www.opengroup.org/susv3xsh/fopen.html}

Gnulib module: fopen

Portability problems fixed by Gnulib:
@itemize
@item
On Windows platforms (excluding Cygwin), this function does usually not
recognize the @file{/dev/null} filename.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
On Windows platforms (excluding Cygwin), this function does not set @code{errno}
upon failure.
@item
On Windows, this function returns a file stream in ``text'' mode by default;
this means that it translates @code{'\n'} to CR/LF by default.  Use the
@code{"b"} flag if you need reliable binary I/O.
@end itemize