aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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