Gnulib module: open, fchdir
Portability problems fixed by the Gnulib module open:
off_tis a 32-bit type,
openmay not work correctly with files larger than 2 GB. (Cf.
O_NONBLOCKflag when it is defined by the gnulib module
nonblockingon some platforms: mingw, MSVC 9.
Portability problems fixed by the Gnulib module fchdir:
Portability problems not fixed by Gnulib:
O_TEXTmode by default; this means that it translates
'\n'to CR/LF by default. Use the
O_BINARYflag if you need reliable binary I/O.