5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/fopen.html}
9 Portability problems fixed by Gnulib:
12 This function does not fail when the file name argument ends in a slash
13 and (without the slash) names a nonexistent file, on some platforms:
14 HP-UX 11.00, Solaris 9.
16 On Windows platforms (excluding Cygwin), this function does usually not
17 recognize the @file{/dev/null} filename.
20 Portability problems not fixed by Gnulib:
23 On Windows platforms (excluding Cygwin), this function does not set @code{errno}
26 On Windows, this function returns a file stream in ``text'' mode by default;
27 this means that it translates @code{'\n'} to CR/LF by default. Use the
28 @code{"b"} flag if you need reliable binary I/O.
30 On Windows platforms (excluding Cygwin), this function fails to open
31 directories for reading. Such streams have implementation-defined
32 semantics on other platforms. To avoid directory streams with a
33 consistent error message, use @code{fstat} after @code{open} and
34 @code{fdopen}, rather than @code{fopen} and @code{fileno}.