From 12c809149f185ab006f986b0d7f6be6b8ffb8c5d Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 19 Sep 2010 16:39:12 +0200 Subject: [PATCH] getgrent.3: Update feature test macro requirements Signed-off-by: Michael Kerrisk --- man3/getgrent.3 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/man3/getgrent.3 b/man3/getgrent.3 index 462353923..bb2dd970f 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