]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/getgrent_r.3
Added/updated glibc feature test macro requirements
[thirdparty/man-pages.git] / man3 / getgrent_r.3
index e67d0c346fda56c6eb423b48f376908a37f14767..8242f6049aa7684ae1441a1608a6e6357fe5a4de 100644 (file)
 .\" 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)