Searched defs:gid_array (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/lib/nsswitch/compat/common/
H A Dgetgrent.c167 gid_t *gid_array = argp->gid_array; local
179 /* full gid_array; nobody should have bothered to call us */
203 if (gid == gid_array[i]) {
208 gid_array[numgids++] = gid;
211 /* filled the gid_array */
225 return (NSS_NOTFOUND); /* Really means "gid_array not full yet" */
/osnet-11/usr/src/lib/nsswitch/nis/common/
H A Dgetgrent.c186 * Add gid to gid_array if it's not already there. gid_array must have room
190 add_gid(gid_t gid_array[], int numgids, gid_t gid) argument
195 if (gid_array[i] == gid) {
199 gid_array[numgids++] = gid;
205 * netid lookup, add the gids to the gid_array. The string may contain extra
206 * whitesapce. On parse error, the valid portion of the gid_array is not
210 parse_netid(const char *buf, gid_t gid_array[], int maxgids, int *numgids_ptr) argument
240 numgids = add_gid(gid_array, numgids, gid);
253 * Perform a lookup in the netid map. Fill in the gid_array i
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetgrnam_r.c215 * _getgroupsbymember(uname, gid_array, maxgids, numgids):
221 * gid_array Space in which to return the gids. The first [numgids]
223 * maxgids Maximum number of elements in gid_array.
227 * number of valid gids in gid_array (may be zero)
241 _getgroupsbymember(const char *username, gid_t gid_array[], argument
248 arg.gid_array = gid_array;
449 gid_t *gidp = gbm->gid_array;

Completed in 38 milliseconds