Home
last modified time | relevance | path

Searched refs:grpname (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.bin/newgrp/
H A Dnewgrp.c47 static void addgroup(const char *grpname);
146 addgroup(const char *grpname) in addgroup() argument
159 if ((grp = getgrnam(grpname)) == NULL) in addgroup()
160 if ((lgid = strtol(grpname, &ep, 10)) <= 0 || *ep != '\0' || in addgroup()
162 warnx("%s: bad group name", grpname); in addgroup()
/freebsd/sys/dev/p2sb/
H A Dlewisburg_gpio.c55 char grpname; member
194 sc->grpname = lbggpiocm_get_group_name(device_get_parent(dev), dev); in lbggpio_probe()
198 desc[sizeof(desc)-2] = sc->grpname; in lbggpio_probe()
215 "GPIO %c%u", sc->grpname, i); in lbggpio_attach()
H A Dlewisburg_gpiocm.c65 char grpname; member
144 return (group->grpname); in lbggpiocm_get_group_name()
313 group->grpname = sc->community->grpnames[i]; in lbggpiocm_attach()
/freebsd/lib/libutil/
H A Dquotafile.c72 static char initname, usrname[100], grpname[100]; in hasquota() local
81 (void)snprintf(grpname, sizeof(grpname), "%s%s", in hasquota()
91 if (type == GRPQUOTA && strcmp(opt, grpname) == 0) in hasquota()