Lines Matching defs:ngroups_max
275 long ngroups_max;
288 ngroups_max = sysconf(_SC_NGROUPS_MAX) + 1;
289 if ((groups = malloc(sizeof(gid_t) * ngroups_max)) == NULL)
293 ngroups = ngroups_max;
297 ngroups = getgroups(ngroups_max, groups);
384 long ngroups_max;
388 ngroups_max = sysconf(_SC_NGROUPS_MAX) + 1;
389 if ((groups = malloc(sizeof(gid_t) * (ngroups_max))) == NULL)
393 ngroups = ngroups_max;
396 ngroups = getgroups(ngroups_max, groups);