63708f29a29ad1489aaaf1a3fdaf8ffcb9d61002
[gnulib.git] / doc / posix-functions / fcntl.texi
1 @node fcntl
2 @section @code{fcntl}
3 @findex fcntl
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/fcntl.html}
6
7 Gnulib module: fcntl
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function does not support @code{F_DUPFD_CLOEXEC} on some
13 platforms:
14 MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11,
15 IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.7.1, mingw, Interix 3.5,
16 BeOS.
17 Note that the gnulib replacement code is functional but not atomic.
18
19 @item
20 The @code{F_DUPFD} action of this function does not reject
21 out-of-range targets properly on some platforms:
22 Cygwin 1.5.x.
23
24 @item
25 This function is missing on some platforms:
26 mingw.
27 @end itemize
28
29 Portability problems not fixed by Gnulib:
30 @itemize
31 @item
32 The replacement function does not support @code{F_SETFD},
33 @code{F_GETFL}, @code{F_SETFL}, @code{F_GETOWN}, @code{F_SETOWN},
34 @code{F_GETLK}, @code{F_SETLK}, and @code{F_SETLKW} on some platforms:
35 mingw
36 @end itemize