Searched refs:gidstr (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/oamuser/group/
H A Dgroupadd.c68 char *gidstr = NULL; /* gid from command line */ local
75 gidstr = optarg;
85 if ((oflag && !gidstr) || optind != argc - 1) {
105 if (gidstr) {
110 gid = (gid_t)strtol(gidstr, &ptr, 10);
113 errmsg(M_GID_INVALID, gidstr);
124 errmsg(M_GRP_USED, gidstr);
130 errmsg(M_GID_INVALID, gidstr);
H A Dgroupmod.c67 char *gidstr = NULL; /* gid from command line */ local
77 gidstr = optarg;
91 if ((oflag && !gidstr) || optind != argc - 1) {
98 if (gidstr) {
99 /* convert gidstr to integer */
103 gid = (gid_t)strtol(gidstr, &ptr, 10);
106 errmsg(M_GID_INVALID, gidstr);
117 errmsg(M_GRP_USED, gidstr);
123 errmsg(M_GID_INVALID, gidstr);
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetgrent.c57 char gidstr[12]; /* More than enough */ local
61 (void) snprintf(gidstr, 12, "%d", argp->key.gid);
62 return (_nss_nis_lookup(be, argp, 0, "group.bygid", gidstr, 0));

Completed in 69 milliseconds