Searched refs:groupc (Results 1 - 3 of 3) sorted by relevance

/netbsd-current/lib/libc/gen/
H A Dgetgrouplist.c60 int rv, groupc; local
66 groupc = 0;
67 rv = getgroupmembership(uname, agroup, groups, *grpcnt, &groupc);
68 *grpcnt = groupc; /* set groupc to the actual # of groups */
H A Dgetgroupmembership.c70 * indicated by *groupc, unless it already exists or *groupc is
75 __gr_addgid(gid_t gid, gid_t *groups, int maxgrp, int *groupc) argument
79 _DIAGASSERT(groupc != NULL);
83 for (dupc = 0; dupc < MIN(maxgrp, *groupc); dupc++) {
89 if (*groupc < maxgrp) /* add this gid */
90 groups[*groupc] = gid;
93 (*groupc)++;
107 int *groupc = va_arg(ap, int *); local
117 _DIAGASSERT(groupc !
150 int *groupc = va_arg(ap, int *); local
243 int *groupc = va_arg(ap, int *); local
285 int *groupc; member in struct:__compatggm
325 int *groupc = va_arg(ap, int *); local
370 getgroupmembership(const char *uname, gid_t agroup, gid_t *groups, int maxgrp, int *groupc) argument
[all...]
/netbsd-current/usr.sbin/user/
H A Duser.c443 int groupc; local
473 groupc = strlen(group);
481 if (entc == groupc &&
550 int groupc; local
606 if ((groupc = strlen(groups[i])) == 0) {
609 if (entc == groupc &&

Completed in 193 milliseconds