Searched refs:gr (Results 1 – 3 of 3) sorted by relevance
22 struct group *gr = getgrgid(gid); in print_gid() local23 if (gr) { in print_gid()24 printf("%d(%s)", gid, gr->gr_name); in print_gid()
90 struct group *gr = getgrgid(gid); in group2str() local91 if(gr) { in group2str()92 strcpy(out, gr->gr_name); in group2str()
86 struct group *gr; in str2gid() local91 if (!(gr = getgrnam(str))) { in str2gid()95 return gr->gr_gid; in str2gid()203 struct group *gr; in print_new_rule() local204 gr = getgrgid(gid); in print_new_rule()207 gr->gr_name, gid); in print_new_rule()