open
POSIX specification:
http://www.opengroup.org/onlinepubs/9699919799/functions/open.html
Gnulib module: open, fchdir
Portability problems fixed by the Gnulib module open:
off_t
is a 32-bit type, open
may not work
correctly with files larger than 2 GB. (Cf. AC_SYS_LARGEFILE
.)
O_NONBLOCK
flag when it is defined
by the gnulib module nonblocking
on some platforms:
mingw, MSVC 9.
Portability problems fixed by the Gnulib module fchdir:
Portability problems not fixed by Gnulib:
O_TEXT
mode by
default; this means that it translates '\n' to CR/LF by default. Use the
O_BINARY
flag if you need reliable binary I/O.