fcntl.2: Add feature test macro requirements for F_GETOWN and F_SETOWN

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-09-18 06:35:45 +02:00
parent 02b219a16a
commit 72dca4ff98
1 changed files with 12 additions and 2 deletions

View File

@ -1142,12 +1142,22 @@ Only the operations
.BR F_GETFL ,
.BR F_SETFL ,
.BR F_GETLK ,
.BR F_SETLK ,
.BR F_SETLK
and
.BR F_SETLKW ,
.BR F_GETOWN ,
are specified in POSIX.1-2001.
.BR F_GETOWN
and
.B F_SETOWN
are specified in POSIX.1-2001.
(To get their definitions, define
.BR BSD_SOURCE ,
or
.BR _XOPEN_SOURCE
with the value 500 or greater, or define
.BR _POSIX_C_SOURCE
with the value 200809L or greater.)
.B F_DUPFD_CLOEXEC
is specified in POSIX.1-2008.