fcntl.h
=======

POSIX specification: http://www.opengroup.org/susv3xbd/fcntl.h.html

Gnulib module: fcntl-h

Portability problems fixed by Gnulib:

  * O_NOCTTY, O_DSYNC, O_NONBLOCK, O_RSYNC, O_SYNC, O_DIRECTORY, and O_NOFOLLOW are not defined on some platforms.

  * O_BINARY, O_TEXT (not specified by POSIX, but essential for portability to Woe32 platforms) are defined on some platforms but not on others.

  * O_DIRECT, O_NDELAY, O_NOATIME, and O_NOLINKS (not specified by POSIX) are defined on some platforms but not on others.

  * FD_CLOEXEC is not defined on some platforms: mingw

  * AT_FDCWD and friends are provided by modules like openat.

Portability problems not fixed by Gnulib:

  * O_CLOEXEC is not defined on some platforms.  The gnulib replacement is not atomic on these platforms.

  * O_TTY_INIT, O_SEARCH, and O_EXEC are not defined on some platforms.

  * F_DUPFD, F_DUPFD_CLOEXEC, F_GETFD, and F_SETFD are not defined on some platforms: mingw

  * F_GETFL, F_SETFL, F_GETLK, F_SETLK, F_SETLOKW, F_GETOWN, and F_SETOWN are not defined on some platforms.

  * POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, POSIX_FADV_NORMAL, POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, and POSIX_FADV_WILLNEED are not defined on some platforms.