summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/getgroups.215
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/libc/sys/getgroups.2 b/lib/libc/sys/getgroups.2
index 7bda945..82a9338 100644
--- a/lib/libc/sys/getgroups.2
+++ b/lib/libc/sys/getgroups.2
@@ -30,9 +30,9 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)getgroups.2 8.2 (Berkeley) 4/16/94
-.\" $Id: getgroups.2,v 1.3 1998/01/11 22:01:20 alex Exp $
+.\" $Id: getgroups.2,v 1.4 1998/01/13 01:30:17 alex Exp $
.\"
-.Dd April 16, 1994
+.Dd March 5, 1999
.Dt GETGROUPS 2
.Os BSD 4.2
.Sh NAME
@@ -54,9 +54,11 @@ indicates the number of entries that may be placed in
.Fa gidset .
.Fn Getgroups
returns the actual number of groups returned in
-.Fa gidset ,
-which is limited to the value returned by
-.Fn sysconf _SC_NGROUPS_MAX .
+.Fa gidset .
+No more than
+.Dv NGROUPS_MAX
+will ever
+be returned.
If
.Fa gidsetlen
is zero,
@@ -86,8 +88,7 @@ an invalid address.
.El
.Sh SEE ALSO
.Xr setgroups 2 ,
-.Xr initgroups 3 ,
-.Xr sysconf 3
+.Xr initgroups 3
.Sh HISTORY
The
.Fn getgroups
OpenPOWER on IntegriCloud