OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:optopt
(Results
1 - 15
of
15
) sorted by relevancy
/src/common/lib/libc/stdlib/
getopt.c
64
optopt
, /* character checked for validity */
93
optopt
= *place++;
94
if (
optopt
== '-' && *place == 0) {
100
if (
optopt
== 0) {
106
optopt
= '-';
109
optopt
= *place++;
112
if (
optopt
== ':' || (oli = strchr(ostr,
optopt
)) == NULL) {
116
(void)EPRINTF("unknown option -- %c\n",
optopt
);
147
optopt
);
[
all
...]
/src/lib/libc/stdlib/
getopt_long.c
62
int
optopt
= '?'; /* character checked for validity */
variable
255
optopt
= optchar;
267
optopt
= optchar;
290
optopt
= optchar;
412
optopt
= 0;
422
* XXX: GNU sets
optopt
to val regardless of
426
optopt
= long_options[match].val;
428
optopt
= 0;
453
* XXX: GNU sets
optopt
to val regardless
457
optopt
= long_options[match].val
[
all
...]
/src/usr.bin/mail/
main.c
360
if (
optopt
== 'H') {
366
getprogname(),
optopt
);
374
if (
optopt
!= '?')
377
optopt
);
/src/usr.sbin/lpr/lpr/
lpr.c
166
fonts[
optopt
- '1'] = optarg;
205
format =
optopt
;
244
if (
optopt
== 'i') {
/src/libexec/fingerd/
fingerd.c
119
my_err("illegal option -- %c",
optopt
);
/src/libexec/ftpd/
popen.c
192
optreset = optind =
optopt
= 1;
ftpd.c
473
if (
optopt
== 'a' ||
optopt
== 'C')
475
syslog(LOG_WARNING, "unknown flag -%c ignored",
optopt
);
/src/usr.bin/apply/
apply.c
88
nargs =
optopt
- '0';
/src/usr.bin/ftp/
main.c
431
if (
optopt
== '?') {
434
warnx("-%c: unknown option",
optopt
);
438
warnx("-%c: missing argument",
optopt
);
/src/include/
unistd.h
158
extern int
optopt
;
/src/sys/lib/libsa/
stand.h
284
extern int opterr, optind,
optopt
, optreset;
/src/bin/sh/
histedit.c
665
error("option -%c expects argument",
optopt
);
669
error("unknown option: -%c",
optopt
);
/src/usr.bin/pmap/
main.c
217
errx(1, "-%c option not implemented, sorry",
optopt
);
/src/sbin/savecore/
savecore.c
232
usage("Missing argument for flag `%c'",
optopt
);
/src/tools/compat/
compat_defs.h
290
extern int optind, opterr,
optopt
;
Completed in 90 milliseconds
Indexes created Sat Feb 21 08:20:20 UTC 2026