Searched refs:a_gid (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.1-release/usr.sbin/pw/
H A Dpw_group.c55 struct carg *a_gid = getarg(args, 'g'); local
93 if (a_gid == NULL) {
98 (a_gid = a_name)->ch = 'g';
102 grp = (a_name != NULL) ? GETGRNAM(a_name->val) : GETGRGID((gid_t) atoi(a_gid->val));
106 grp = GETGRGID(atoi(a_gid->val));
113 fakegroup.gr_gid = a_gid ? (gid_t) atol(a_gid->val) : -1;
117 errx(EX_DATAERR, "unknown group `%s'", a_name ? a_name->val : a_gid->val);
140 if (a_gid)
141 grp->gr_gid = (gid_t) atoi(a_gid
350 struct carg *a_gid = getarg(args, 'g'); local
[all...]
H A Dpw_user.c902 struct carg *a_gid = getarg(args, 'g'); local
907 if (a_gid == NULL && cnf->default_group && *cnf->default_group)
908 a_gid = addarg(args, 'g', cnf->default_group);
914 if (a_gid != NULL) {
915 if ((grp = GETGRNAM(a_gid->val)) == NULL) {
916 gid = (gid_t) atol(a_gid->val);
917 if ((gid == 0 && !isdigit((unsigned char)*a_gid->val)) || (grp = GETGRGID(gid)) == NULL)
918 errx(EX_NOUSER, "group `%s' is not defined", a_gid->val);
956 a_gid = LIST_FIRST(&grpargs);
957 while (a_gid !
[all...]
/freebsd-10.1-release/usr.sbin/chown/
H A Dchown.c60 static void a_gid(const char *);
142 a_gid(cp);
148 a_gid(cp);
153 a_gid(*argv);
233 a_gid(const char *s) function
/freebsd-10.1-release/sbin/mknod/
H A Dmknod.c89 a_gid(const char *s) function
155 gid = a_gid(cp);
/freebsd-10.1-release/sbin/mount_msdosfs/
H A Dmount_msdosfs.c60 static gid_t a_gid(char *);
100 gid = a_gid(optarg);
232 a_gid(char *s) function

Completed in 207 milliseconds