Searched refs:grp (Results 1 – 2 of 2) sorted by relevance
35 struct group *grp = NULL; in chown_main() local52 grp = getgrnam(group); in chown_main()53 if (grp != NULL) { in chown_main()54 gid = grp->gr_gid; in chown_main()
176 char *grp; in getSchedulerGroup() local193 if (!(grp = strsep(&next, ":"))) { in getSchedulerGroup()196 grp++; /* Drop the leading '/' */ in getSchedulerGroup()197 len = strlen(grp); in getSchedulerGroup()198 grp[len-1] = '\0'; /* Drop the trailing '\n' */ in getSchedulerGroup()203 strncpy(buf, grp, len); in getSchedulerGroup()