Searched refs:optopt (Results 1 - 25 of 142) sorted by relevance

123456

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dopt_data.c41 int optopt = 0; variable
H A Dgetopt_long.c367 optopt = 0;
382 * XXX: GNU sets optopt to val regardless of flag
385 optopt = long_options[match].val;
387 optopt = 0;
415 * XXX: GNU sets optopt to val regardless of flag
418 optopt = long_options[match].val;
420 optopt = 0;
434 optopt = 0;
443 optopt = long_options[match].val;
444 return (optopt);
[all...]
H A Dgetopt.c223 * For an unrecognized long-option, optopt will equal 0, but
227 optopt = c = (unsigned char)argv[optind][_sp];
236 * Note: When the long option is unrecognized, optopt
245 optopt = c = *cp;
/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/lib/libast/common/include/
H A Dast_getopt.h36 extern int optopt;
/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/lvm/metassist/controller/
H A Dgetopt_ext.c84 * <optopt>
138 if (optopt != '?') {
139 if (strchr(optstring, optopt) == NULL) {
/illumos-gate/usr/src/head/
H A Dgetopt.h65 extern int optopt;
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_getopt.h19 extern __MANGLE__ int optopt;
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_getopt.h19 extern __MANGLE__ int optopt;
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast_getopt.h19 extern __MANGLE__ int optopt;
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_getopt.h19 extern __MANGLE__ int optopt;
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dgetopt.c41 int optopt = 0;
67 optopt = opt_info.option[1];
/illumos-gate/usr/src/test/zfs-tests/cmd/
H A Dfile_common.h56 extern int optind, opterr, optopt;
/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/grub/grub-0.97/lib/
H A Dgetopt.h58 extern int optopt;
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/sendmail/libsm/
H A Dtest.c27 extern int optopt;
90 optopt);
/illumos-gate/usr/src/cmd/bnu/
H A Dgetopt.c44 int optopt; variable
64 optopt = c = argv[optind][sp];
/illumos-gate/usr/src/cmd/head/
H A Dhead.c111 optopt);
118 argv[0], optopt, optarg);
121 isline = optopt != 'c';
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpusers.c65 extern int optind, opterr, optopt, errno;
129 if (optopt == '?')
131 stroptsw[1] = optopt;
132 if (strchr("ldqu", optopt))
/illumos-gate/usr/src/cmd/ndmpadm/
H A Dndmpadm_main.c238 "requires an operand\n"), optopt);
242 "option: -%c\n"), optopt);
304 "requires an operand\n"), optopt);
308 "option: -%c\n"), optopt);
445 "'%c' option\n"), optopt);
450 gettext("Invalid option '%c'\n"), optopt);
580 "requires an operand\n"), optopt);
585 "option: -%c\n"), optopt);
669 "requires an operand\n"), optopt);
673 "option: -%c\n"), optopt);
[all...]
/illumos-gate/usr/src/test/zfs-tests/cmd/file_trunc/
H A Dfile_trunc.c105 extern int optind, optopt;
141 "Option -%c requires an operand\n", optopt);
147 "Unrecognized option: -%c\n", optopt);
/illumos-gate/usr/src/cmd/prtdscp/sparc/sun4u/
H A Dprtdscp.c113 extern int optopt;
169 err(gettext("invalid option -%c"), optopt);
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dmain.c135 opterr = optind = 1; optopt = 0;
149 opterr = optind = 1; optopt = 0;

Completed in 117 milliseconds

123456