mirror of https://github.com/mkerrisk/man-pages
Note that O_CLOEXEC is in next POSIX revison.
Added a FIXME for other upcoming POSIX changes.
This commit is contained in:
parent
0e464c2f72
commit
9f91e36c26
21
man2/open.2
21
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
|
||||
|
|
Loading…
Reference in New Issue