aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-08-21 13:47:25 -0500
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-08-21 13:47:25 -0500
commit37c240d14c5179dcb6a257fe34e23dc70bc7f516 (patch)
tree7f05ab0ebd32c29bcf9bf4029ca9f0766d271140
parent9bbf6fbf5a691623cd9e6e90d54cbbb2ac0c6f22 (diff)
downloadman-pages-37c240d14c5179dcb6a257fe34e23dc70bc7f516.tar.gz
fcntl.2: One must define _GNU_SOURCE to get the F_OFD_* definitions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/fcntl.24
1 files changed, 3 insertions, 1 deletions
diff --git a/man2/fcntl.2 b/man2/fcntl.2
index 806cec9866..d377d47dc6 100644
--- a/man2/fcntl.2
+++ b/man2/fcntl.2
@@ -1472,7 +1472,9 @@ macro to obtain these definitions.)
.BR F_OFD_SETLKW ,
and
.BR F_OFD_GETLK
-are Linux-specific,
+are Linux-specific (and one must define
+.BR _GNU_SOURCE
+to obtain their definitions),
but work is being done to have them included in the next version of POSIX.1.
.\" FIXME Presumably, glibc will require _GNU_SOURCE
.SH NOTES