Mercurial > hg > octave-kai > gnulib-hg
annotate doc/posix-headers/fcntl.texi @ 15607:6355dc4626b5
doc: Update regarding MSVC 9.
* doc/gnulib-intro.texi (Target Platforms): Classify MSVC as "rarely
tested".
* doc/posix-functions/*.texi: Update with info about MSVC 9.
* doc/posix-headers/*.texi: Likewise.
* doc/pastposix-functions/*.texi: Likewise.
* doc/glibc-functions/*.texi: Likewise.
* doc/glibc-headers/*.texi: Likewise.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 11 Sep 2011 21:56:17 +0200 |
parents | f4cfbb6036d8 |
children | e3c67dcee18f |
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 |
13753
3d497ee2707b
Update doc for POSIX:2008.
Bruno Haible <bruno@clisp.org>
parents:
13664
diff
changeset
|
4 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html} |
9638
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 |
15594
f4cfbb6036d8
Ensure pid_t gets defined.
Bruno Haible <bruno@clisp.org>
parents:
14534
diff
changeset
|
11 The type @code{pid_t} is not defined on some platforms: |
f4cfbb6036d8
Ensure pid_t gets defined.
Bruno Haible <bruno@clisp.org>
parents:
14534
diff
changeset
|
12 MSVC 9. |
f4cfbb6036d8
Ensure pid_t gets defined.
Bruno Haible <bruno@clisp.org>
parents:
14534
diff
changeset
|
13 |
f4cfbb6036d8
Ensure pid_t gets defined.
Bruno Haible <bruno@clisp.org>
parents:
14534
diff
changeset
|
14 @item |
13664
241057e2e60f
fcntl-h: define O_CLOEXEC and O_EXEC if not defined; use new defines
Paul Eggert <eggert@cs.ucla.edu>
parents:
13549
diff
changeset
|
15 @samp{O_CLOEXEC}, @samp{O_DIRECTORY}, @samp{O_DSYNC}, @samp{O_NOCTTY}, |
14532
0b3f0c54fbc8
nonblocking: provide O_NONBLOCK for mingw
Eric Blake <eblake@redhat.com>
parents:
13917
diff
changeset
|
16 @samp{O_NOFOLLOW}, @samp{O_RSYNC}, @samp{O_SYNC}, |
13664
241057e2e60f
fcntl-h: define O_CLOEXEC and O_EXEC if not defined; use new defines
Paul Eggert <eggert@cs.ucla.edu>
parents:
13549
diff
changeset
|
17 and @samp{O_TTY_INIT} are not defined on some platforms. Gnulib defines |
14532
0b3f0c54fbc8
nonblocking: provide O_NONBLOCK for mingw
Eric Blake <eblake@redhat.com>
parents:
13917
diff
changeset
|
18 these macros to 0, which is generally safe. |
0b3f0c54fbc8
nonblocking: provide O_NONBLOCK for mingw
Eric Blake <eblake@redhat.com>
parents:
13917
diff
changeset
|
19 |
0b3f0c54fbc8
nonblocking: provide O_NONBLOCK for mingw
Eric Blake <eblake@redhat.com>
parents:
13917
diff
changeset
|
20 @item |
0b3f0c54fbc8
nonblocking: provide O_NONBLOCK for mingw
Eric Blake <eblake@redhat.com>
parents:
13917
diff
changeset
|
21 @samp{O_NONBLOCK} is not defined on some platforms. If the |
0b3f0c54fbc8
nonblocking: provide O_NONBLOCK for mingw
Eric Blake <eblake@redhat.com>
parents:
13917
diff
changeset
|
22 @samp{nonblocking} module is in use, gnulib guarantees a working |
0b3f0c54fbc8
nonblocking: provide O_NONBLOCK for mingw
Eric Blake <eblake@redhat.com>
parents:
13917
diff
changeset
|
23 non-zero value; otherwise, the gnulib replacement is 0. |
13664
241057e2e60f
fcntl-h: define O_CLOEXEC and O_EXEC if not defined; use new defines
Paul Eggert <eggert@cs.ucla.edu>
parents:
13549
diff
changeset
|
24 |
241057e2e60f
fcntl-h: define O_CLOEXEC and O_EXEC if not defined; use new defines
Paul Eggert <eggert@cs.ucla.edu>
parents:
13549
diff
changeset
|
25 @item |
241057e2e60f
fcntl-h: define O_CLOEXEC and O_EXEC if not defined; use new defines
Paul Eggert <eggert@cs.ucla.edu>
parents:
13549
diff
changeset
|
26 @samp{O_EXEC} and @samp{O_SEARCH} are not defined on some platforms. |
241057e2e60f
fcntl-h: define O_CLOEXEC and O_EXEC if not defined; use new defines
Paul Eggert <eggert@cs.ucla.edu>
parents:
13549
diff
changeset
|
27 Gnulib defines these macros to @samp{O_RDONLY}, which is typically 0. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
28 |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
29 @item |
14534
2078181e301c
fcntl-h: fix O_ACCMODE on cygwin
Eric Blake <eblake@redhat.com>
parents:
14532
diff
changeset
|
30 The @samp{O_ACCMODE} mask mistakenly omits @samp{O_SEARCH} and |
2078181e301c
fcntl-h: fix O_ACCMODE on cygwin
Eric Blake <eblake@redhat.com>
parents:
14532
diff
changeset
|
31 @samp{O_EXEC} on some platforms: |
2078181e301c
fcntl-h: fix O_ACCMODE on cygwin
Eric Blake <eblake@redhat.com>
parents:
14532
diff
changeset
|
32 Cygwin. |
2078181e301c
fcntl-h: fix O_ACCMODE on cygwin
Eric Blake <eblake@redhat.com>
parents:
14532
diff
changeset
|
33 |
2078181e301c
fcntl-h: fix O_ACCMODE on cygwin
Eric Blake <eblake@redhat.com>
parents:
14532
diff
changeset
|
34 @item |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
35 @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
|
36 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
|
37 others. |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
38 |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
39 @item |
11876
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
40 @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
|
41 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
|
42 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
|
43 |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
44 @item |
12456
f3aceada3c52
fcntl: port portions of fcntl to mingw
Eric Blake <ebb9@byu.net>
parents:
12454
diff
changeset
|
45 @samp{FD_CLOEXEC}, @samp{F_DUPFD}, and @samp{F_GETFD} are not defined |
f3aceada3c52
fcntl: port portions of fcntl to mingw
Eric Blake <ebb9@byu.net>
parents:
12454
diff
changeset
|
46 on some platforms: |
15607
6355dc4626b5
doc: Update regarding MSVC 9.
Bruno Haible <bruno@clisp.org>
parents:
15594
diff
changeset
|
47 mingw, MSVC 9. |
11942
d1047ae4b8d5
openat: declare in POSIX headers
Eric Blake <ebb9@byu.net>
parents:
11877
diff
changeset
|
48 |
d1047ae4b8d5
openat: declare in POSIX headers
Eric Blake <ebb9@byu.net>
parents:
11877
diff
changeset
|
49 @item |
12454
f7624052e60d
fcntl: support F_DUPFD_CLOEXEC on systems with fcntl
Eric Blake <ebb9@byu.net>
parents:
11968
diff
changeset
|
50 @samp{F_DUPFD_CLOEXEC} is not defined on some platforms: |
13892 | 51 MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX 5.1, HP-UX 11, |
15607
6355dc4626b5
doc: Update regarding MSVC 9.
Bruno Haible <bruno@clisp.org>
parents:
15594
diff
changeset
|
52 IRIX 6.5, OSF/1 5.1, Solaris 11 2010-11, Cygwin 1.7.1, mingw, MSVC 9, Interix 3.5, |
12454
f7624052e60d
fcntl: support F_DUPFD_CLOEXEC on systems with fcntl
Eric Blake <ebb9@byu.net>
parents:
11968
diff
changeset
|
53 BeOS. |
f7624052e60d
fcntl: support F_DUPFD_CLOEXEC on systems with fcntl
Eric Blake <ebb9@byu.net>
parents:
11968
diff
changeset
|
54 |
f7624052e60d
fcntl: support F_DUPFD_CLOEXEC on systems with fcntl
Eric Blake <ebb9@byu.net>
parents:
11968
diff
changeset
|
55 @item |
11945 | 56 @samp{AT_FDCWD}, @samp{AT_EACCESS}, @samp{AT_SYMLINK_NOFOLLOW}, |
57 @samp{AT_SYMLINK_FOLLOW}, and @samp{AT_REMOVEDIR} | |
11963
a23404c39980
Mention affected platforms.
Bruno Haible <bruno@clisp.org>
parents:
11945
diff
changeset
|
58 are not defined on many platforms: |
13892 | 59 glibc 2.3.6, MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX |
15607
6355dc4626b5
doc: Update regarding MSVC 9.
Bruno Haible <bruno@clisp.org>
parents:
15594
diff
changeset
|
60 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 8, Cygwin 1.5.x, mingw, MSVC 9, Interix 3.5, BeOS. |
11963
a23404c39980
Mention affected platforms.
Bruno Haible <bruno@clisp.org>
parents:
11945
diff
changeset
|
61 |
a23404c39980
Mention affected platforms.
Bruno Haible <bruno@clisp.org>
parents:
11945
diff
changeset
|
62 @item |
a23404c39980
Mention affected platforms.
Bruno Haible <bruno@clisp.org>
parents:
11945
diff
changeset
|
63 @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
|
64 platforms: |
13917
3bbfc7e37ec2
Update for Solaris 11 2010-11.
Bruno Haible <bruno@clisp.org>
parents:
13892
diff
changeset
|
65 Solaris 11 2010-11. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
66 @end itemize |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
67 |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
68 Portability problems not fixed by Gnulib: |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
69 @itemize |
11876
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
70 @item |
12454
f7624052e60d
fcntl: support F_DUPFD_CLOEXEC on systems with fcntl
Eric Blake <ebb9@byu.net>
parents:
11968
diff
changeset
|
71 @samp{F_SETFD}, @samp{F_GETFL}, @samp{F_SETFL}, @samp{F_GETLK}, |
f7624052e60d
fcntl: support F_DUPFD_CLOEXEC on systems with fcntl
Eric Blake <ebb9@byu.net>
parents:
11968
diff
changeset
|
72 @samp{F_SETLK}, @samp{F_SETLOKW}, @samp{F_GETOWN}, and @samp{F_SETOWN} |
f7624052e60d
fcntl: support F_DUPFD_CLOEXEC on systems with fcntl
Eric Blake <ebb9@byu.net>
parents:
11968
diff
changeset
|
73 are not defined on some platforms: |
15607
6355dc4626b5
doc: Update regarding MSVC 9.
Bruno Haible <bruno@clisp.org>
parents:
15594
diff
changeset
|
74 mingw, MSVC 9. |
11876
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
75 |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
76 @item |
cc0527e5d2f4
fcntl-h: rename from fcntl, in preparation for fcntl(2)
Eric Blake <ebb9@byu.net>
parents:
9638
diff
changeset
|
77 @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
|
78 @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
|
79 @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
|
80 defined on some platforms. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
81 @end itemize |