Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/oamuser/group/
H A Dgroupadd.c68 char *gidstr = NULL; /* gid from command line */ in main() local
75 gidstr = optarg; in main()
85 if ((oflag && !gidstr) || optind != argc - 1) { in main()
105 if (gidstr) { in main()
110 gid = (gid_t)strtol(gidstr, &ptr, 10); in main()
113 errmsg(M_GID_INVALID, gidstr); in main()
124 errmsg(M_GRP_USED, gidstr); in main()
130 errmsg(M_GID_INVALID, gidstr); in main()
H A Dgroupmod.c67 char *gidstr = NULL; /* gid from command line */ in main() local
77 gidstr = optarg; in main()
91 if ((oflag && !gidstr) || optind != argc - 1) { in main()
98 if (gidstr) { in main()
103 gid = (gid_t)strtol(gidstr, &ptr, 10); in main()
106 errmsg(M_GID_INVALID, gidstr); in main()
117 errmsg(M_GRP_USED, gidstr); in main()
123 errmsg(M_GID_INVALID, gidstr); in main()
/titanic_44/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));