Home | History | Annotate | Download | only in getgroups

Lines Matching defs:ngroups

50 static int ngroups;
51 static GID_T groups_list[NGROUPS];
52 static GID_T groups[NGROUPS];
61 int gidsetsize = NGROUPS;
91 static int readgroups(GID_T groups[NGROUPS])
142 ngroups = readgroups(groups);
149 if (SETGROUPS(cleanup, ngroups, groups) == -1)
175 for (j = 0; j < ngroups; j++) {
178 if (j == ngroups - 1) {
194 for (i = 0; i < ngroups; i++) {
227 * Decrement ngroups, if egid is not returned by getgroups()
228 * Now, if ngroups matches ret_val, as above comparisons of the array
232 ngroups--;
233 if (ngroups != ret_ngroups) {
236 "(expected %d)", ret_ngroups, ngroups);