Lines Matching defs:group
528 struct group *xgetgrgid(gid_t gid)
530 struct group *group = getgrgid(gid);
532 if (!group) perror_exit("gid %ld", (long)gid);
533 return group;
552 struct group *xgetgrnamid(char *group)
554 struct group *gr = getgrnam(group);
560 gid = estrtol(group, &s, 10);
563 if (!gr) perror_exit("group '%s'", group);
576 struct group *xgetgrnam(char *name)
578 struct group *gr = getgrnam(name);
580 if (!gr) perror_exit("group '%s'", name);