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

123

/freebsd-11-stable/contrib/libpcap/missing/
H A Dgetopt.h5 extern int optind, opterr, optreset, optopt;
H A Dgetopt.c46 optopt, /* character checked for validity */ variable
84 if ((optopt = (int)*place++) == (int)':' ||
85 !(oli = strchr(ostr, optopt))) {
90 if (optopt == (int)'-')
96 "%s: illegal option -- %c\n", __progname, optopt);
114 __progname, optopt);
122 return (optopt); /* dump back option letter */
/freebsd-11-stable/lib/libc/stdlib/
H A Dgetopt.c49 optopt, /* character checked for validity */ variable
75 optopt = *place++;
76 if (optopt == '-' && *place == 0) {
82 if (optopt == 0) {
88 optopt = '-';
91 optopt = *place++;
94 if (optopt == ':' || (oli = strchr(ostr, optopt)) == NULL) {
100 optopt);
131 _getprogname(), optopt);
[all...]
H A Dgetopt_long.c75 int optopt = '?'; /* character checked for validity */ variable
269 optopt = 0;
283 * XXX: GNU sets optopt to val regardless of flag
286 optopt = long_options[match].val;
288 optopt = 0;
320 * XXX: GNU sets optopt to val regardless of flag
323 optopt = long_options[match].val;
325 optopt = 0;
340 optopt = 0;
518 optopt
[all...]
/freebsd-11-stable/stand/libsa/
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 */
/freebsd-11-stable/contrib/bmake/
H A Dgetopt.c49 optopt = BADCH, /* character checked for validity */ variable
81 optopt = *place++;
82 if (optopt == '-' && *place == 0) {
88 if (optopt == 0) {
94 optopt = '-';
97 optopt = *place++;
100 if (optopt == ':' || (oli = strchr(ostr, optopt)) == NULL) {
105 "%s: unknown option -- %c\n", __progname, optopt);
136 __progname, optopt);
[all...]
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetopt.c49 ROKEN_LIB_VARIABLE int optopt; /* character checked for validity */ variable
76 if ((optopt = (int)*place++) == (int)':' ||
77 !(oli = strchr(ostr, optopt))) {
82 if (optopt == (int)'-')
92 p, optopt);
115 p, optopt);
123 return(optopt); /* dump back option letter */
/freebsd-11-stable/sys/contrib/rdma/krping/
H A Dgetopt.h19 char **optopt, char **optarg, unsigned long *value);
H A Dgetopt.c19 * @optopt: output; will contain the current option
30 const struct krping_option *opts, char **optopt,
40 if (optopt)
41 *optopt = token;
29 krping_getopt(const char *caller, char **options, const struct krping_option *opts, char **optopt, char **optarg, unsigned long *value) argument
/freebsd-11-stable/contrib/tcpdump/
H A Dgetopt_long.h64 extern int optind, opterr, optopt;
/freebsd-11-stable/sys/contrib/rdma/krping_compat/
H A Dgetopt.h19 char **optopt, char **optarg, unsigned long *value);
H A Dgetopt.c19 * @optopt: output; will contain the current option
30 const struct krping_option *opts, char **optopt,
40 if (optopt)
41 *optopt = token;
29 krping_getopt(const char *caller, char **options, const struct krping_option *opts, char **optopt, char **optarg, unsigned long *value) argument
/freebsd-11-stable/contrib/atf/atf-c/
H A Dtp_test.c67 if (optopt != 's')
68 atf_tc_fail("Unexpected unknown option -%c found", optopt);
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dgetopt.h69 extern int optopt;
H A Dgetopt_long.c59 * getopt opterr optind optopt optreset optarg are all in defines.h which is
77 int optopt = '?'; /* character checked for validity */ variable
220 optopt = 0;
231 * XXX: GNU sets optopt to val regardless of flag
234 optopt = long_options[match].val;
236 optopt = 0;
261 * XXX: GNU sets optopt to val regardless of flag
264 optopt = long_options[match].val;
266 optopt = 0;
277 optopt
[all...]
/freebsd-11-stable/include/
H A Dgetopt.h70 extern int optind, opterr, optopt;
/freebsd-11-stable/contrib/gcclibs/include/
H A Dgetopt.h59 extern int optopt;
/freebsd-11-stable/contrib/gdb/include/
H A Dgetopt.h59 extern int optopt;
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DGetOptInc.h35 extern int optopt;
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dtest.c25 extern int optopt;
88 optopt);
/freebsd-11-stable/contrib/top/
H A Dgetopt.c42 int optopt; variable
62 optopt = c = argv[optind][sp];
/freebsd-11-stable/contrib/tcpdump/missing/
H A Dgetopt_long.c83 int optind, opterr = 1, optopt; variable
266 optopt = 0;
280 * XXX: GNU sets optopt to val regardless of flag
283 optopt = long_options[match].val;
285 optopt = 0;
317 * XXX: GNU sets optopt to val regardless of flag
320 optopt = long_options[match].val;
322 optopt = 0;
337 optopt = 0;
518 optopt
[all...]
/freebsd-11-stable/contrib/file/src/
H A Dgetopt_long.c65 int optopt = '?'; /* character checked for validity */ variable
267 optopt = optchar;
279 optopt = optchar;
302 optopt = optchar;
431 optopt = 0;
441 * XXX: GNU sets optopt to val regardless of
445 optopt = long_options[match].val;
447 optopt = 0;
472 * XXX: GNU sets optopt to val regardless
476 optopt
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DGetOptInc.cpp22 int optopt = '?'; /* character checked for validity */ variable
154 optopt = 0;
163 * XXX: GNU sets optopt to val regardless of flag
166 optopt = long_options[match].val;
168 optopt = 0;
191 * XXX: GNU sets optopt to val regardless of flag
194 optopt = long_options[match].val;
196 optopt = 0;
207 optopt = 0;
362 optopt
[all...]
/freebsd-11-stable/contrib/atf/atf-c++/detail/
H A Dapplication_test.cpp65 if (optopt != 's')

Completed in 200 milliseconds

123