diff options
Diffstat (limited to 'man3/getgrent_r.3')
-rw-r--r-- | man3/getgrent_r.3 | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/man3/getgrent_r.3 b/man3/getgrent_r.3 index e67d0c346..8242f6049 100644 --- a/man3/getgrent_r.3 +++ b/man3/getgrent_r.3 @@ -20,13 +20,11 @@ .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, .\" USA. .\" -.TH GETGRENT 3 2003-11-15 "GNU" "Linux Programmer's Manual" +.TH GETGRENT 3 2007-07-26 "GNU" "Linux Programmer's Manual" .SH NAME getgrent_r, fgetgrent_r \- get group file entry reentrantly .SH SYNOPSIS .nf -.B "#define _GNU_SOURCE" -.br .B #include <grp.h> .sp .BI "int getgrent_r(struct group *" gbuf ", char *" buf , @@ -36,6 +34,19 @@ getgrent_r, fgetgrent_r \- get group file entry reentrantly .BI "int fgetgrent_r(FILE *" fp ", struct group *" gbuf ", char *" buf , .br .BI " size_t " buflen ", struct group **" gbufp ); +.fi +.sp +.in -4n +Feature Test Macro Requirements for glibc (see +.BR feature_test_macros (7)): +.in +.sp +.BR getgrent_r (): +_GNU_SOURCE +.\" FIXME . The FTM requirements seem inconsistent here. File a glibc bug? +.br +.BR fgetgrent_r (): +_SVID_SOURCE .SH DESCRIPTION The functions .BR getgrent_r () @@ -173,5 +184,4 @@ main(void) .BR getgrgid (3), .BR getgrnam (3), .BR putgrent (3), -.BR group (5), -.BR feature_test_macros (7) +.BR group (5) |