Mercurial > hg > octave-kai > gnulib-hg
annotate doc/posix-headers/fcntl.texi @ 11963:a23404c39980
Mention affected platforms.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 06 Sep 2009 21:41:20 +0200 |
parents | 2cf208dc022b |
children | 98e4db1661cc |
rev | line source |
---|---|
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 @node fcntl.h |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
2 @section @file{fcntl.h} |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 POSIX specification: @url{http://www.opengroup.org/susv3xbd/fcntl.h.html} |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
5 |
11876
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
6 Gnulib module: fcntl-h |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
7 |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 Portability problems fixed by Gnulib: |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 @itemize |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 @item |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
11 @samp{O_NOCTTY}, @samp{O_DSYNC}, @samp{O_NONBLOCK}, @samp{O_RSYNC}, |
11877
18205f9302ac
fcntl-h: add O_TTY_INIT support
Eric Blake <ebb9@byu.net>
parents:
11876
diff
changeset
|
12 @samp{O_SYNC}, @samp{O_DIRECTORY}, @samp{O_NOFOLLOW}, and |
18205f9302ac
fcntl-h: add O_TTY_INIT support
Eric Blake <ebb9@byu.net>
parents:
11876
diff
changeset
|
13 @samp{O_TTY_INIT} are not defined on some platforms. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
14 |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
15 @item |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
16 @samp{O_BINARY}, @samp{O_TEXT} (not specified by POSIX, but essential for |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
17 portability to Woe32 platforms) are defined on some platforms but not on |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
18 others. |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
19 |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
20 @item |
11876
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
21 @samp{O_DIRECT}, @samp{O_NDELAY}, @samp{O_NOATIME}, |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
22 and @samp{O_NOLINKS} (not specified by POSIX) are defined |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
23 on some platforms but not on others. |
11876
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
24 |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
25 @item |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
26 @samp{FD_CLOEXEC} is not defined on some platforms: |
11963
a23404c39980
Mention affected platforms.
Bruno Haible <bruno@clisp.org>
parents:
11945
diff
changeset
|
27 mingw. |
11942
d1047ae4b8d5
openat: declare in POSIX headers
Eric Blake <ebb9@byu.net>
parents:
11877
diff
changeset
|
28 |
d1047ae4b8d5
openat: declare in POSIX headers
Eric Blake <ebb9@byu.net>
parents:
11877
diff
changeset
|
29 @item |
11945 | 30 @samp{AT_FDCWD}, @samp{AT_EACCESS}, @samp{AT_SYMLINK_NOFOLLOW}, |
31 @samp{AT_SYMLINK_FOLLOW}, and @samp{AT_REMOVEDIR} | |
11963
a23404c39980
Mention affected platforms.
Bruno Haible <bruno@clisp.org>
parents:
11945
diff
changeset
|
32 are not defined on many platforms: |
a23404c39980
Mention affected platforms.
Bruno Haible <bruno@clisp.org>
parents:
11945
diff
changeset
|
33 glibc 2.3.6, MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 8, Cygwin, mingw, Interix 3.5, BeOS. |
a23404c39980
Mention affected platforms.
Bruno Haible <bruno@clisp.org>
parents:
11945
diff
changeset
|
34 |
a23404c39980
Mention affected platforms.
Bruno Haible <bruno@clisp.org>
parents:
11945
diff
changeset
|
35 @item |
a23404c39980
Mention affected platforms.
Bruno Haible <bruno@clisp.org>
parents:
11945
diff
changeset
|
36 @samp{AT_FDCWD} is defined with a value too large for an @code{int} on some |
a23404c39980
Mention affected platforms.
Bruno Haible <bruno@clisp.org>
parents:
11945
diff
changeset
|
37 platforms: |
a23404c39980
Mention affected platforms.
Bruno Haible <bruno@clisp.org>
parents:
11945
diff
changeset
|
38 Solaris 10. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
39 @end itemize |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
40 |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
41 Portability problems not fixed by Gnulib: |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
42 @itemize |
11876
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
43 @item |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
44 @samp{O_CLOEXEC} is not defined on some platforms. The gnulib |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
45 replacement is not atomic on these platforms. |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
46 |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
47 @item |
11877
18205f9302ac
fcntl-h: add O_TTY_INIT support
Eric Blake <ebb9@byu.net>
parents:
11876
diff
changeset
|
48 @samp{O_SEARCH} and @samp{O_EXEC} are not defined |
11876
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
49 on some platforms. |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
50 |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
51 @item |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
52 @samp{F_DUPFD}, @samp{F_DUPFD_CLOEXEC}, @samp{F_GETFD}, and |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
53 @samp{F_SETFD} are not defined on some platforms: |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
54 mingw |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
55 |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
56 @item |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
57 @samp{F_GETFL}, @samp{F_SETFL}, @samp{F_GETLK}, @samp{F_SETLK}, |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
58 @samp{F_SETLOKW}, @samp{F_GETOWN}, and @samp{F_SETOWN} are not defined |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
59 on some platforms. |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
60 |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
61 @item |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
62 @samp{POSIX_FADV_DONTNEED}, @samp{POSIX_FADV_NOREUSE}, |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
63 @samp{POSIX_FADV_NORMAL}, @samp{POSIX_FADV_RANDOM}, |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
64 @samp{POSIX_FADV_SEQUENTIAL}, and @samp{POSIX_FADV_WILLNEED} are not |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
65 defined on some platforms. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
66 @end itemize |