open
====

POSIX specification: http://www.opengroup.org/susv3xsh/open.html

Gnulib module: open

Portability problems fixed by Gnulib:

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

  * On Windows platforms (excluding Cygwin), this function does usually not recognize the /dev/null filename.

Portability problems not fixed by Gnulib:

  * On Windows, this function returns a file handle in 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.

  * On platforms where off_t is a 32-bit type, open may not work correctly with files larger than 2 GB.  The fix is to use the AC_SYS_LARGEFILE macro.