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

1234

/freebsd-current/contrib/libpcap/missing/
H A Dgetopt.h5 extern int optind, opterr, optreset, optopt;
H A Dgetopt.c46 optopt, /* character checked for validity */ variable
84 optopt = (int)*place++;
85 if (optopt == (int)':') { /* option letter okay? */
90 "%s: illegal option -- %c\n", __progname, optopt);
93 oli = strchr(ostr, optopt);
99 if (optopt == (int)'-')
105 "%s: illegal option -- %c\n", __progname, optopt);
123 __progname, optopt);
131 return (optopt); /* dump back option letter */
/freebsd-current/contrib/unifdef/FreeBSD/
H A Dgetopt.c34 optopt, /* character checked for validity */ variable
61 optopt = *place++;
62 if (optopt == '-' && *place == 0) {
68 if (optopt == 0) {
74 optopt = '-';
77 optopt = *place++;
80 if (optopt == ':' || (oli = strchr(ostr, optopt)) == NULL) {
86 optopt);
111 _getprogname(), optopt);
[all...]
/freebsd-current/lib/libc/stdlib/
H A Dgetopt.c45 optopt, /* character checked for validity */ variable
70 optopt = *place++;
71 if (optopt == '-' && *place == 0) {
77 if (optopt == 0) {
83 optopt = '-';
86 optopt = *place++;
89 if (optopt == ':' || (oli = strchr(ostr, optopt)) == NULL) {
95 optopt);
126 _getprogname(), optopt);
[all...]
/freebsd-current/stand/libsa/
H A Dgetopt.c35 optopt, /* character checked for validity */ variable
65 if ((optopt = (int)*place++) == (int)':' ||
66 !(oli = strchr(ostr, optopt))) {
71 if (optopt == (int)'-')
76 (void)printf("illegal option -- %c\n", optopt);
92 (void)printf("option requires an argument -- %c\n", optopt);
100 return (optopt); /* dump back option letter */
/freebsd-current/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-current/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-current/contrib/ntp/sntp/libevent/WIN32-Code/
H A Dgetopt.c51 optopt, /* character checked for validity */ variable
109 if ((optopt = (int)*place++) == (int)':' ||
110 !(oli = strchr(ostr, optopt))) {
115 if (optopt == (int)'-')
121 "%s: illegal option -- %c\n", __progname, optopt);
139 __progname, optopt);
147 return (optopt); /* dump back option letter */
H A Dgetopt.h10 extern int optopt; /* character checked for validity */
H A Dgetopt_long.c39 extern int optopt; /* character checked for validity */
97 if ((optopt = (int)*place++) == (int)':' ||
98 !(oli = strchr(ostr, optopt))) {
103 if (optopt == (int)'-')
109 "%s: illegal option -- %c\n", __progname(nargv[0]), optopt);
124 __progname(nargv[0]), optopt);
131 return (optopt); /* dump back option letter */
/freebsd-current/contrib/libevent/WIN32-Code/
H A Dgetopt.c51 optopt, /* character checked for validity */ variable
109 if ((optopt = (int)*place++) == (int)':' ||
110 !(oli = strchr(ostr, optopt))) {
115 if (optopt == (int)'-')
121 "%s: illegal option -- %c\n", __progname, optopt);
139 __progname, optopt);
147 return (optopt); /* dump back option letter */
H A Dgetopt.h10 extern int optopt; /* character checked for validity */
H A Dgetopt_long.c39 extern int optopt; /* character checked for validity */
97 if ((optopt = (int)*place++) == (int)':' ||
98 !(oli = strchr(ostr, optopt))) {
103 if (optopt == (int)'-')
109 "%s: illegal option -- %c\n", __progname(nargv[0]), optopt);
124 __progname(nargv[0]), optopt);
131 return (optopt); /* dump back option letter */
/freebsd-current/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-current/contrib/tcpdump/missing/
H A Dgetopt_long.h64 extern int optind, opterr, optopt;
/freebsd-current/contrib/atf/atf-c/
H A Dtp_test.c67 if (optopt != 's')
68 atf_tc_fail("Unexpected unknown option -%c found", optopt);
/freebsd-current/contrib/libfido2/openbsd-compat/
H A Dgetopt.h69 extern int optopt;
/freebsd-current/include/
H A Dgetopt.h71 extern int optind, opterr, optopt;
/freebsd-current/tools/build/cross-build/include/common/
H A Dgetopt.h43 #define optopt __freebsd_optopt macro
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dgetopt.h80 extern int optopt;
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Dfile_common.h64 extern int optind, opterr, optopt;
/freebsd-current/tests/sys/cddl/zfs/bin/
H A Dfile_common.h57 extern int optind, opterr, optopt;
/freebsd-current/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-current/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DGetOptInc.h44 extern int optopt;

Completed in 345 milliseconds

1234