Home
last modified time | relevance | path

Searched refs:optchar (Results 1 – 23 of 23) sorted by relevance

/titanic_44/usr/src/lib/libc/port/gen/
H A Dgetopt_long.c460 int optchar, short_too; in getopt_internal() local
621 optchar = parse_long_options(nargc, nargv, options, in getopt_internal()
623 if (optchar != -1) { in getopt_internal()
625 return (optchar); in getopt_internal()
629 if ((optchar = (int)*place++) == (int)':' || in getopt_internal()
630 (oli = strchr(options, optchar)) == NULL) { in getopt_internal()
635 if (optchar == (int)'-') in getopt_internal()
643 optchar); in getopt_internal()
644 optopt = optchar; in getopt_internal()
648 (long_options != NULL) && (optchar == 'W') && (oli[1] == ';')) { in getopt_internal()
[all …]
/titanic_44/usr/src/ucbcmd/chown/
H A Dchown.c71 char optchar[2]; in main() local
90 optchar[0] = *cp; in main()
91 optchar[1] = '\0'; in main()
92 fatal(255, "unknown option: %s", optchar); in main()
/titanic_44/usr/src/cmd/devmgmt/cmds/
H A Dlistdgrp.c147 int optchar; /* Option char (from getopt()) */ in main() local
178 while ((optchar = getopt(argc, argv, "")) != EOF) switch (optchar) { in main()
H A Dgetdev.c158 int optchar; /* Option character (from getopt()) */ in main() local
193 while ((optchar = getopt(argc, argv, "ae")) != EOF) switch (optchar) { in main()
H A Dgetdgrp.c180 int optchar; /* Option character (returned by getopt()) */ in main() local
217 while ((optchar = getopt(argc, argv, "ael")) != EOF) switch (optchar) { in main()
H A Dputdgrp.c180 int optchar; /* Option extracted */ in main() local
192 while ((optchar = getopt(argc, argv, "d:")) != EOF) switch (optchar) { in main()
H A Dputdev.c209 int optchar; /* Option extracted */ in main() local
223 while ((optchar = getopt(argc, argv, "a:d:m:")) != EOF) switch (optchar) { in main()
/titanic_44/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkdb5_destroy.c74 int optchar; local
105 while ((optchar = getopt(argc, argv, "f")) != -1) {
106 switch(optchar) {
H A Dkdb5_stash.c99 int optchar; local
135 while ((optchar = getopt(argc, argv, "f:")) != -1) {
136 switch(optchar) {
H A Dkdb5_create.c161 int optchar; local
181 while ((optchar = getopt(argc, argv, "s")) != -1) {
182 switch(optchar) {
/titanic_44/usr/src/cmd/fmtmsg/
H A Dmain.c508 int optchar; /* Opt char on cmdline */ in main() local
588 while (((optchar = getopt(argc, argv, "a:c:l:s:t:u:")) != EOF) && in main()
591 switch(optchar) { in main()
/titanic_44/usr/src/lib/libshell/common/bltins/
H A Dgetopts.c103 opt_info.offset = shp->st.optchar; in b_getopts()
168 shp->st.optchar = opt_info.offset; in b_getopts()
/titanic_44/usr/src/cmd/vscan/vscand/
H A Dvs_main.c276 int optchar; in vscand_parse_args() local
278 while ((optchar = getopt(argc, argv, "f?")) != EOF) { in vscand_parse_args()
279 switch (optchar) { in vscand_parse_args()
/titanic_44/usr/src/cmd/deroff/
H A Dderoff.c136 int optchar; in main() local
145 while ((optchar = getopt(argc, argv, "wim:")) != EOF) { in main()
146 switch (optchar) { in main()
/titanic_44/usr/src/cmd/dis/
H A Ddis_main.c626 int optchar; in main() local
633 while ((optchar = getopt(argc, argv, "Cd:D:F:l:Lot:Vqn")) != -1) { in main()
634 switch (optchar) { in main()
/titanic_44/usr/src/cmd/sgs/nm/common/
H A Dnm.c169 int optchar; in main() local
210 while ((optchar = getopt(argc, argv, optstr)) != -1) { in main()
211 switch (optchar) { in main()
/titanic_44/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c424 int optchar; in main() local
492 while ((optchar = getopt(argc, argv, "r:mdp:x:")) != EOF) { in main()
493 switch (optchar) { in main()
/titanic_44/usr/src/lib/libshell/common/include/
H A Ddefs.h91 short optchar; member
/titanic_44/usr/src/cmd/sgs/dump/common/
H A Ddump.c2010 int optchar; in main() local
2020 while ((optchar = getopt(argc, argv, optstr)) != -1) { in main()
2021 switch (optchar) { in main()
/titanic_44/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin.c204 int optchar, freeprinc = 0, use_keytab = 0; local
226 while ((optchar = getopt(argc, argv, "x:r:p:kq:w:d:s:mc:t:e:ON")) != EOF) {
227 switch (optchar) {
/titanic_44/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_realm.c2489 int optchar = 0; local
2505 while ((optchar = getopt(argc, argv, "f")) != -1) {
2506 switch (optchar) {
/titanic_44/usr/src/lib/libshell/common/sh/
H A Dinit.c260 shp->st.opterror = shp->st.optchar = 0; in put_optindex()
H A Dxec.c2579 shp->st.opterror = shp->st.optchar = 0; in sh_funscope()