Searched defs:optopt (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dopt_data.c41 int optopt = 0; variable
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetopt.c38 int optopt; /* character checked for validity */ variable
62 if ((optopt = (int)*place++) == (int)':' ||
63 !(oli = strchr(ostr, optopt))) {
69 if (optopt == (int)'-')
79 p, optopt);
99 p, optopt);
106 return (optopt); /* dump back option letter */
/illumos-gate/usr/src/cmd/bnu/
H A Dgetopt.c44 int optopt; variable
64 optopt = c = argv[optind][sp];
/illumos-gate/usr/src/cmd/mdb/common/libstand/
H A Dgetopt.c33 int opterr = 1, optind = 1, optopt = 0; variable
44 optopt = 0;
64 optopt = c = (unsigned char)argv[optind][_sp];
/illumos-gate/usr/src/boot/lib/libstand/
H A Dgetopt.c42 optopt, /* character checked for validity */ variable
72 if ((optopt = (int)*place++) == (int)':' ||
73 !(oli = strchr(ostr, optopt))) {
78 if (optopt == (int)'-')
83 (void)printf("illegal option -- %c\n", optopt);
99 (void)printf("option requires an argument -- %c\n", optopt);
107 return (optopt); /* dump back option letter */
/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/
H A DGetopt.java50 private int optopt = 0; field in class:Getopt
283 return optopt;
367 * For an unrecognized long-option, optopt will equal 0, but
371 optopt = c = args[optind].charAt(_sp);
381 * Note: When the long option is unrecognized, optopt will
390 optopt = c = optstring.charAt(cp);
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Dgetopt.c157 int optopt = '?';
688 optopt = 0;
719 optopt = pfound->val;
734 optopt = pfound->val;
769 optopt = 0;
796 optopt = c;
826 optopt = c;
956 optopt = c;
156 int optopt = '?'; variable
/illumos-gate/usr/src/cmd/hotplug/
H A Dhotplug.c263 bad_option(opt, optopt, usage_str);
811 bad_option(opt, optopt, usage_str);
872 if (optopt == '?') {
911 bad_option(opt, optopt, usage_str);
937 bad_option(opt, optopt, usage_str);
973 bad_option(int opt, int optopt, const char *usage_str) argument
979 optopt);
982 if (optopt == '?') {
987 gettext("ERROR: unrecognized option '%c'.\n"), optopt);
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dmks.h667 int optopt; /* Invalid option */ member in struct:getopt_state
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool_ui.c77 static void print_bad_option(char *argv[], int optopt, char *optarg);
121 extern int optopt; /* Option (char) which is missing an operand. */
191 print_bad_option(argv, optopt, optarg);
589 switch (optopt) {
619 print_bad_option(argv, optopt, optarg);
773 print_bad_option(argv, optopt, optarg);
782 print_bad_option(char *argv[], int optopt, char *optarg) argument
788 argv[0], optarg, optopt);
791 } else if (optopt != 0) {
794 argv[0], optopt);
[all...]
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Ddcs.c107 static void dcs_log_bad_alg(char optopt, char *optarg);
229 dcs_log_msg(LOG_ERR, DCS_BAD_OPT_ARG, optopt,
257 dcs_log_msg(LOG_NOTICE, DCS_BAD_OPT_ARG, optopt,
274 dcs_log_bad_alg(optopt, optarg);
286 dcs_log_bad_alg(optopt, optarg);
299 if (optopt == 'a' || optopt == 'e' || optopt == 'u')
300 dcs_log_bad_alg(optopt, optarg);
302 dcs_log_msg(LOG_ERR, DCS_BAD_OPT, optopt);
436 dcs_log_bad_alg(char optopt, char *optarg) argument
[all...]
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_map.h145 #undef optopt macro
146 #define optopt _ast_optopt macro
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_map.h124 #undef optopt macro
125 #define optopt _ast_optopt macro
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_map.h145 #undef optopt macro
146 #define optopt _ast_optopt macro
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_map.h124 #undef optopt macro
125 #define optopt _ast_optopt macro
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast_map.h145 #undef optopt macro
146 #define optopt _ast_optopt macro
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_map.h124 #undef optopt macro
125 #define optopt _ast_optopt macro
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_map.h145 #undef optopt macro
146 #define optopt _ast_optopt macro
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_map.h124 #undef optopt macro
125 #define optopt _ast_optopt macro
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.c2994 extern int optind, opterr, optopt;
2999 int optopt = 0; /* character checked for validity */ local
3008 (void) sm_io_putc(smioerr, SM_TIME_DEFAULT, optopt); \
3037 if ((optopt = (int)*place++) == (int)':' || !(oli = strchr(ostr,optopt))) {
3055 return optopt; /* dump back option letter */

Completed in 111 milliseconds