diff options
| -rw-r--r-- | man2/open.2 | 21 |
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 |
