summaryrefslogtreecommitdiff
path: root/man3/fgetgrent.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/fgetgrent.3')
-rw-r--r--man3/fgetgrent.320
1 files changed, 13 insertions, 7 deletions
diff --git a/man3/fgetgrent.3 b/man3/fgetgrent.3
index 9b913013e..9ea2bb9e1 100644
--- a/man3/fgetgrent.3
+++ b/man3/fgetgrent.3
@@ -25,7 +25,7 @@
.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
.\" 386BSD man pages
.\" Modified Sat Jul 24 19:38:44 1993 by Rik Faith (faith@cs.unc.edu)
-.TH FGETGRENT 3 1993-04-04 "GNU" "Linux Programmer's Manual"
+.TH FGETGRENT 3 2007-07-26 "GNU" "Linux Programmer's Manual"
.SH NAME
fgetgrent \- get group file entry
.SH SYNOPSIS
@@ -36,6 +36,14 @@ fgetgrent \- get group file entry
.sp
.BI "struct group *fgetgrent(FILE *" stream );
.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.BR fgetgrent ():
+_SVID_SOURCE
.SH DESCRIPTION
The
.BR fgetgrent ()
@@ -49,14 +57,12 @@ The \fIgroup\fP structure is defined in \fI<grp.h>\fP as follows:
.sp
.RS
.nf
-.ta 8n 16n 32n
struct group {
- char *gr_name; /* group name */
- char *gr_passwd; /* group password */
- gid_t gr_gid; /* group ID */
- char **gr_mem; /* group members */
+ char *gr_name; /* group name */
+ char *gr_passwd; /* group password */
+ gid_t gr_gid; /* group ID */
+ char **gr_mem; /* group members */
};
-.ta
.fi
.RE
.SH "RETURN VALUE"