Gnulib module: freopen
Portability problems fixed by Gnulib:
streamdoes not already have an open file descriptor,
freopenreturns the stream without opening the file: glibc 2.24.
off_tis a 32-bit type,
freopenmay not work correctly with files larger than 2 GB. (Cf.
Portability problems not fixed by Gnulib:
NULLfile name argument on some platforms: OpenBSD 4.9, AIX 7.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1, Solaris 10, mingw, MSVC 14.
fileno(f)will be the same before and after a call to
freopen(name,mode,f). However, the module
freopen-safercan at least protect