2 @section @code{freopen}
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/freopen.html}
9 Portability problems fixed by Gnulib:
12 On Windows platforms (excluding Cygwin), this function does usually not
13 recognize the @file{/dev/null} filename.
16 Portability problems not fixed by Gnulib:
19 On Windows platforms (excluding Cygwin), this function does not set @code{errno}
22 This function does not fail when the file name argument ends in a slash
23 and (without the slash) names a nonexistent file or a file that is not a
24 directory, on some platforms:
25 HP-UX 11.00, Solaris 9, Irix 5.3.
27 Applications should not assume that @code{fileno(f)} will be the same
28 before and after a call to @code{freopen(name,mode,f)}. However, the
29 module freopen-safer can at least protect @code{stdin}, @code{stdout},