freopen
=======

POSIX specification: http://www.opengroup.org/onlinepubs/9699919799/functions/freopen.html

Gnulib module: freopen

Portability problems fixed by Gnulib:

  * 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.

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