2 @section @file{fcntl.h}
4 POSIX specification: @url{http://www.opengroup.org/susv3xbd/fcntl.h.html}
8 Portability problems fixed by Gnulib:
11 @samp{O_NOCTTY}, @samp{O_DSYNC}, @samp{O_NONBLOCK}, @samp{O_RSYNC},
12 @samp{O_SYNC}, @samp{O_DIRECTORY}, @samp{O_NOFOLLOW}, and
13 @samp{O_TTY_INIT} are not defined on some platforms.
16 @samp{O_BINARY}, @samp{O_TEXT} (not specified by POSIX, but essential for
17 portability to Woe32 platforms) are defined on some platforms but not on
21 @samp{O_DIRECT}, @samp{O_NDELAY}, @samp{O_NOATIME},
22 and @samp{O_NOLINKS} (not specified by POSIX) are defined
23 on some platforms but not on others.
26 @samp{FD_CLOEXEC} is not defined on some platforms:
30 @samp{AT_FDCWD} and friends are provided by modules like openat.
33 Portability problems not fixed by Gnulib:
36 @samp{O_CLOEXEC} is not defined on some platforms. The gnulib
37 replacement is not atomic on these platforms.
40 @samp{O_SEARCH} and @samp{O_EXEC} are not defined
44 @samp{F_DUPFD}, @samp{F_DUPFD_CLOEXEC}, @samp{F_GETFD}, and
45 @samp{F_SETFD} are not defined on some platforms:
49 @samp{F_GETFL}, @samp{F_SETFL}, @samp{F_GETLK}, @samp{F_SETLK},
50 @samp{F_SETLOKW}, @samp{F_GETOWN}, and @samp{F_SETOWN} are not defined
54 @samp{POSIX_FADV_DONTNEED}, @samp{POSIX_FADV_NOREUSE},
55 @samp{POSIX_FADV_NORMAL}, @samp{POSIX_FADV_RANDOM},
56 @samp{POSIX_FADV_SEQUENTIAL}, and @samp{POSIX_FADV_WILLNEED} are not
57 defined on some platforms.