aboutsummaryrefslogtreecommitdiffstats
path: root/man2/open.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-04-08 11:28:12 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-04-08 11:28:12 +0000
commit9f91e36c26349bd817744025cdaae3cccec02c87 (patch)
tree9e5dbf2c56793355a1ddf97ae09f39162d8d5215 /man2/open.2
parent0e464c2f722f60d0c007c11662efc246f785e20b (diff)
downloadman-pages-9f91e36c26349bd817744025cdaae3cccec02c87.tar.gz
Note that O_CLOEXEC is in next POSIX revison.
Added a FIXME for other upcoming POSIX changes.
Diffstat (limited to 'man2/open.2')
-rw-r--r--man2/open.221
1 files changed, 16 insertions, 5 deletions
diff --git a/man2/open.2 b/man2/open.2
index b356271060..28233b8b14 100644
--- a/man2/open.2
+++ b/man2/open.2
@@ -44,7 +44,10 @@
.\" on O_DIRECT.
.\" 2008-02-26, Michael Haardt: Reorganised text for O_CREAT and mode
.\"
-.TH OPEN 2 2008-02-25 "Linux" "Linux Programmer's Manual"
+.\" FIXME . Apr 08: The next posix revison has O_EXEC, O_SEARCH, and
+.\" O_TTYINIT. Eventually these may need to be documented. --mtk
+.\"
+.TH OPEN 2 2008-04-08 "Linux" "Linux Programmer's Manual"
.SH NAME
open, creat \- open and possibly create a file or device
.SH SYNOPSIS
@@ -554,15 +557,23 @@ flag was specified, and an incompatible lease was held on the file
.SH "CONFORMING TO"
SVr4, 4.3BSD, POSIX.1-2001.
The
-.BR O_CLOEXEC ,
.BR O_DIRECTORY ,
.BR O_NOATIME ,
and
.B O_NOFOLLOW
-flags are Linux-specific.
-One may have to define the
+flags are Linux-specific, and one may need to define
+.B_GNU_SOURCE
+to ontain their defintions.
+.\" FIXME . update the following sentence when POSIX.1-2008 is finalized.
+
+The
+.BR O_CLOEXEC
+flag is not specified in POSIX.1-2001,
+but is planned for inclusion in the next revision of the standard;
+one has to to define the
.B _GNU_SOURCE
-macro to get their definitions.
+macro to get its definitions.
+
.B O_DIRECT
is not specified in POSIX; one has to define
.B _GNU_SOURCE