From 72dca4ff98a354b00864ff3ec0fe244327222203 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 18 Sep 2010 06:35:45 +0200 Subject: [PATCH] fcntl.2: Add feature test macro requirements for F_GETOWN and F_SETOWN Signed-off-by: Michael Kerrisk --- man2/fcntl.2 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/man2/fcntl.2 b/man2/fcntl.2 index c9f31ec34..9656b47c5 100644 --- a/man2/fcntl.2 +++ b/man2/fcntl.2 @@ -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.