diff options
| author | Alexander Langer <alex@FreeBSD.org> | 1998-01-13 01:30:17 +0000 |
|---|---|---|
| committer | Alexander Langer <alex@FreeBSD.org> | 1998-01-13 01:30:17 +0000 |
| commit | 26db1da8a92b5e1dcd6c36856504213b8265ef34 (patch) | |
| tree | c92fda2c6cff267fab7619eb34981701717b52fc /lib/libc/sys/getgroups.2 | |
| parent | e4a6f1ad1f9d23638735d2f259307ca3dd4e6ab6 (diff) | |
Notes
Diffstat (limited to 'lib/libc/sys/getgroups.2')
| -rw-r--r-- | lib/libc/sys/getgroups.2 | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/lib/libc/sys/getgroups.2 b/lib/libc/sys/getgroups.2 index 6a16d55ec9d7..7bda9453d1d6 100644 --- a/lib/libc/sys/getgroups.2 +++ b/lib/libc/sys/getgroups.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)getgroups.2 8.2 (Berkeley) 4/16/94 -.\" $Id$ +.\" $Id: getgroups.2,v 1.3 1998/01/11 22:01:20 alex Exp $ .\" .Dd April 16, 1994 .Dt GETGROUPS 2 @@ -54,13 +54,9 @@ indicates the number of entries that may be placed in .Fa gidset . .Fn Getgroups returns the actual number of groups returned in -.Fa gidset . -No more than -.Dv NGROUPS , -as defined in -.Aq Pa sys/param.h , -will ever -be returned. +.Fa gidset , +which is limited to the value returned by +.Fn sysconf _SC_NGROUPS_MAX . If .Fa gidsetlen is zero, @@ -90,7 +86,8 @@ an invalid address. .El .Sh SEE ALSO .Xr setgroups 2 , -.Xr initgroups 3 +.Xr initgroups 3 , +.Xr sysconf 3 .Sh HISTORY The .Fn getgroups |
