fopen
=====

POSIX specification: http://www.opengroup.org/susv3xsh/fopen.html

Gnulib module: fopen

Portability problems fixed by Gnulib:

  * This function does not fail when the file name argument ends in a slash and (without the slash) names a nonexistent file, on some platforms: HP-UX 11.00, Solaris 9.

  * On Windows platforms (excluding Cygwin), this function does usually not recognize the /dev/null filename.

Portability problems not fixed by Gnulib:

  * On Windows platforms (excluding Cygwin), this function does not set errno upon failure.

  * On Windows, this function returns a file stream in ``text'' mode by default; this means that it translates '\n' to CR/LF by default.  Use the "b" flag if you need reliable binary I/O.