Searched refs:_gr_group (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/usr.sbin/mtree/
H A Dgetid.c103 static struct group _gr_group; variable in typeref:struct:group
161 return (rval) ? &_gr_group : NULL;
174 return (rval) ? &_gr_group : NULL;
257 memset(&_gr_group, 0, sizeof(_gr_group));
258 _gr_group.gr_name = strsep(&bp, ":\n");
259 if (search && name && strcmp(_gr_group.gr_name, name))
261 _gr_group.gr_passwd = strsep(&bp, ":\n");
267 _gr_group.gr_gid = (gid_t)id;
268 if (search && name == NULL && _gr_group
[all...]
/netbsd-current/distrib/utils/libhack/
H A Dgetgrent.c96 static struct group _gr_group; variable in typeref:struct:group
116 return &_gr_group;
154 return (rval) ? &_gr_group : NULL;
167 return (rval) ? &_gr_group : NULL;
294 _gr_group.gr_name = strsep(&bp, ":\n");
295 if (search && name && strcmp(_gr_group.gr_name, name))
297 _gr_group.gr_passwd = strsep(&bp, ":\n");
303 _gr_group.gr_gid = (gid_t)id;
304 if (search && name == NULL && _gr_group.gr_gid != gid)
309 for (_gr_group
[all...]

Completed in 166 milliseconds