aboutsummaryrefslogtreecommitdiffstats
path: root/man3/initgroups.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/initgroups.3')
-rw-r--r--man3/initgroups.316
1 files changed, 9 insertions, 7 deletions
diff --git a/man3/initgroups.3 b/man3/initgroups.3
index bf19560327..7f7fe84be6 100644
--- a/man3/initgroups.3
+++ b/man3/initgroups.3
@@ -27,7 +27,7 @@
.\" Modified 1993-07-24 by Rik Faith <faith@cs.unc.edu>
.\" Modified 2004-10-10 by aeb
.\"
-.TH INITGROUPS 3 2004-10-10 "GNU" "Linux Programmer's Manual"
+.TH INITGROUPS 3 2007-07-26 "GNU" "Linux Programmer's Manual"
.SH NAME
initgroups \- initialize the supplementary group access list
.SH SYNOPSIS
@@ -37,6 +37,14 @@ initgroups \- initialize the supplementary group access list
.sp
.BI "int initgroups(const char *" user ", gid_t " group );
.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.BR initgroups ():
+_BSD_SOURCE
.SH DESCRIPTION
The
.BR initgroups ()
@@ -71,12 +79,6 @@ See the underlying system call
.fi
.SH "CONFORMING TO"
SVr4, 4.3BSD
-.SH NOTES
-The prototype for
-.BR initgroups ()
-is only available if
-.B _BSD_SOURCE
-is defined.
.SH "SEE ALSO"
.BR getgroups (2),
.BR setgroups (2),