summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getgrouplist.3
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-01-22 17:32:53 +0000
committermarkm <markm@FreeBSD.org>2002-01-22 17:32:53 +0000
commite2a2029185c199c7c68e39df67aa68b32137facc (patch)
tree4fa4107bd9dc143cbf75e44ad9d40c4184b8784e /lib/libc/gen/getgrouplist.3
parent83a72ec01c6326a9a3a9f6e66192863bcbd4b8e4 (diff)
downloadFreeBSD-src-e2a2029185c199c7c68e39df67aa68b32137facc.zip
FreeBSD-src-e2a2029185c199c7c68e39df67aa68b32137facc.tar.gz
Use the proper type (gid_t) for (group)->gr_gid to be orthogonal
with uid_t usage and (user)->pw_uid. PR: 3242
Diffstat (limited to 'lib/libc/gen/getgrouplist.3')
-rw-r--r--lib/libc/gen/getgrouplist.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/getgrouplist.3 b/lib/libc/gen/getgrouplist.3
index ecf53f2..da949c7 100644
--- a/lib/libc/gen/getgrouplist.3
+++ b/lib/libc/gen/getgrouplist.3
@@ -43,7 +43,7 @@
.Sh SYNOPSIS
.In unistd.h
.Ft int
-.Fn getgrouplist "const char *name" "int basegid" "int *groups" "int *ngroups"
+.Fn getgrouplist "const char *name" "gid_t basegid" "gid_t *groups" "int *ngroups"
.Sh DESCRIPTION
The
.Fn getgrouplist
@@ -56,7 +56,7 @@ is automatically included in the groups list.
Typically this value is given as
the group number from the password file.
.Pp
-The resulting group list is returned in the integer array pointed to by
+The resulting group list is returned in the array pointed to by
.Fa groups .
The caller specifies the size of the
.Fa groups
OpenPOWER on IntegriCloud