getgrouplist
__weak_alias(getgrouplist,_getgrouplist)
int getgrouplist(const char *, gid_t, gid_t *, int *);
__weak_alias(getgrouplist,_getgrouplist)
getgrouplist(const char *uname, gid_t agroup, gid_t *groups, int *grpcnt)
if (getgrouplist(uname, agroup, groups, &ngroups) == -1) {
if (getgrouplist(uname, agroup, groups, &ngroups) == -1)
} while (getgrouplist(pw->pw_name, pw->pw_gid,
if (getgrouplist(pw->pw_name, pw->pw_gid, glist, &ngroups) == -1) {
(void) getgrouplist(pw->pw_name, pw->pw_gid, glist, &ngroups);
if (getgrouplist(pw->pw_name, pw->pw_gid, glist, &ngroups)
(void) getgrouplist(pw->pw_name, pw->pw_gid, glist,
if (getgrouplist(pw->pw_name, pw->pw_gid, usergroups, &ngroups))