avoid some overlong lines from posix urls, etc.
[gnulib.git] / doc / posix-headers / fcntl.texi
1 @node fcntl.h
2 @section @file{fcntl.h}
3
4 POSIX specification:@* @url{http://www.opengroup.org/susv3xbd/fcntl.h.html}
5
6 Gnulib module: fcntl-h
7
8 Portability problems fixed by Gnulib:
9 @itemize
10 @item
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.
14
15 @item
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
18 others.
19
20 @item
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.
24
25 @item
26 @samp{FD_CLOEXEC}, @samp{F_DUPFD}, and @samp{F_GETFD} are not defined
27 on some platforms:
28 mingw.
29
30 @item
31 @samp{F_DUPFD_CLOEXEC} is not defined on some platforms:
32 MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11,
33 IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.7.1, mingw, Interix 3.5,
34 BeOS.
35
36 @item
37 @samp{AT_FDCWD}, @samp{AT_EACCESS}, @samp{AT_SYMLINK_NOFOLLOW},
38 @samp{AT_SYMLINK_FOLLOW}, and @samp{AT_REMOVEDIR}
39 are not defined on many platforms:
40 glibc 2.3.6, MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX
41 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 8, Cygwin 1.5.x, mingw, Interix 3.5, BeOS.
42
43 @item
44 @samp{AT_FDCWD} is defined with a value too large for an @code{int} on some
45 platforms:
46 Solaris 10.
47 @end itemize
48
49 Portability problems not fixed by Gnulib:
50 @itemize
51 @item
52 @samp{O_CLOEXEC} is not defined on some platforms.  The gnulib
53 replacement is not atomic on these platforms.
54
55 @item
56 @samp{O_SEARCH} and @samp{O_EXEC} are not defined
57 on some platforms.
58
59 @item
60 @samp{F_SETFD}, @samp{F_GETFL}, @samp{F_SETFL}, @samp{F_GETLK},
61 @samp{F_SETLK}, @samp{F_SETLOKW}, @samp{F_GETOWN}, and @samp{F_SETOWN}
62 are not defined on some platforms:
63 mingw.
64
65 @item
66 @samp{POSIX_FADV_DONTNEED}, @samp{POSIX_FADV_NOREUSE},
67 @samp{POSIX_FADV_NORMAL}, @samp{POSIX_FADV_RANDOM},
68 @samp{POSIX_FADV_SEQUENTIAL}, and @samp{POSIX_FADV_WILLNEED} are not
69 defined on some platforms.
70 @end itemize