aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2010-09-19 16:39:12 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2010-09-22 16:59:08 +0200
commit12c809149f185ab006f986b0d7f6be6b8ffb8c5d (patch)
tree29d65ab16014984a13fd803be9d3baa2a460d91d
parenta9dc989bb45f3d0cacbf13765b026a83ec36e5f2 (diff)
downloadman-pages-12c809149f185ab006f986b0d7f6be6b8ffb8c5d.tar.gz
getgrent.3: Update feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/getgrent.314
1 files changed, 12 insertions, 2 deletions
diff --git a/man3/getgrent.3 b/man3/getgrent.3
index 462353923e..bb2dd970fb 100644
--- a/man3/getgrent.3
+++ b/man3/getgrent.3
@@ -45,13 +45,23 @@ Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.in
.sp
+.PD 0
.ad l
-.BR getgrent (),
.BR setgrent (),
+.RS 4
+_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED ||
+.br
+/* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
+.RE
+.sp
+.BR getgrent (),
.BR endgrent ():
.RS 4
-_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
+.PD
.ad b
.SH DESCRIPTION
The