aboutsummaryrefslogtreecommitdiffstats
path: root/man3/lockf.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2010-09-18 11:14:55 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2010-09-22 16:59:03 +0200
commitc29dc4442e73af29262ad9fd763a53d94e92ab59 (patch)
treefa58656c34f55a2335b859fd1d6ba8222fd89cef /man3/lockf.3
parent733e68f5f065a6ea4416c673f39cd08712e5f121 (diff)
downloadman-pages-c29dc4442e73af29262ad9fd763a53d94e92ab59.tar.gz
lockf.3: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/lockf.3')
-rw-r--r--man3/lockf.37
1 files changed, 6 insertions, 1 deletions
diff --git a/man3/lockf.3 b/man3/lockf.3
index 3da9dda783..a8e88018e0 100644
--- a/man3/lockf.3
+++ b/man3/lockf.3
@@ -33,7 +33,12 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR lockf ():
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.ad l
+.RS 4
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+.RE
+.ad
.SH DESCRIPTION
Apply, test or remove a POSIX lock on a section of an open file.
The file is specified by