Lines Matching refs:grp
66 #include <grp.h>
197 register struct group* grp;
289 gname = (grp = getgrgid(group)) ? grp->gr_name : (char*)0;
308 while (grp = getgrent())
309 if (p = grp->gr_mem)
318 sfprintf(sp, "%s", grp->gr_name);
319 else sfprintf(sp, "%u(%s)", grp->gr_gid, grp->gr_name);
334 putid(sp, flags, " egid", (grp = getgrgid(egid)) ? grp->gr_name : (char*)0, egid);
343 if (grp = getgrgid(group))
345 if (flags & O_FLAG) sfprintf(sp, "%s", grp->gr_name);
346 else sfprintf(sp, "%u(%s)", group, grp->gr_name);
378 while (grp = getgrent())
379 if (p = grp->gr_mem)
384 if (flags & N_FLAG) sfprintf(sp, "%s", grp->gr_name);
385 else sfprintf(sp, "%u", grp->gr_gid);
398 if ((flags & N_FLAG) && (grp = getgrgid(group)))
399 sfprintf(sp, "%s", grp->gr_name);