fcntl: work around cygwin bug in F_DUPFD
[pspp] / 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 @end itemize
24
25 Portability problems not fixed by Gnulib:
26 @itemize
27 @item
28 This function is missing on some platforms:
29 mingw.
30 @end itemize