summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1999-03-05 10:29:34 +0000
committerBruce Evans <bde@FreeBSD.org>1999-03-05 10:29:34 +0000
commit07799a2af1c7af4dea1742dbcd2987b92b5b1e80 (patch)
treecdd1669d1c47ce631806af97d91c34a53fa62929 /lib/libc
parentc40956e25d3f16f31a1c498fa972fee0ba71dce8 (diff)
Notes
Diffstat (limited to 'lib/libc')
-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 7bda9453d1d6..82a93386deeb 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