Searched refs:optchar (Results 1 - 7 of 7) sorted by relevance

/freebsd-11-stable/lib/libc/stdlib/
H A Dgetopt_long.c361 int optchar, short_too; local
490 optchar = parse_long_options(nargv, options, long_options,
492 if (optchar != -1) {
494 return (optchar);
498 if ((optchar = (int)*place++) == (int)':' ||
499 (optchar == (int)'-' && *place != '\0') ||
500 (oli = strchr(options, optchar)) == NULL) {
506 if (optchar == (int)'-' && *place == '\0')
513 optchar);
516 warnx(illoptchar, optchar);
[all...]
/freebsd-11-stable/contrib/tcpdump/missing/
H A Dgetopt_long.c358 int optchar, short_too; local
490 optchar = parse_long_options(nargv, options, long_options,
492 if (optchar != -1) {
494 return (optchar);
498 if ((optchar = (int)*place++) == (int)':' ||
499 (optchar == (int)'-' && *place != '\0') ||
500 (oli = strchr(options, optchar)) == NULL) {
506 if (optchar == (int)'-' && *place == '\0')
513 optchar);
516 warnx(illoptchar, optchar);
[all...]
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dgetopt_long.c298 int optchar, short_too; local
417 optchar = parse_long_options(nargv, options, long_options,
419 if (optchar != -1) {
421 return (optchar);
425 if ((optchar = (int)*place++) == (int)':' ||
426 (optchar == (int)'-' && *place != '\0') ||
427 (oli = strchr(options, optchar)) == NULL) {
433 if (optchar == (int)'-' && *place == '\0')
438 warnx(illoptchar, optchar);
439 optopt = optchar;
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DGetOptInc.cpp227 int optchar, short_too; local
341 optchar = parse_long_options(nargv, options, long_options, idx, short_too);
342 if (optchar != -1) {
344 return (optchar);
348 if ((optchar = (int)*place++) == (int)':' ||
349 (optchar == (int)'-' && *place != '\0') ||
350 (oli = strchr(options, optchar)) == NULL) {
356 if (optchar == (int)'-' && *place == '\0')
361 warnx(illoptchar, optchar);
362 optopt = optchar;
[all...]
/freebsd-11-stable/contrib/file/src/
H A Dgetopt_long.c183 int optchar; local
260 if ((optchar = (int)*place++) == (int)':' ||
261 (oli = strchr(options + (IGNORE_FIRST ? 1 : 0), optchar)) == NULL) {
266 warnx(illoptchar, optchar);
267 optopt = optchar;
270 if (optchar == 'W' && oli[1] == ';') { /* -W long-option */
278 warnx(recargchar, optchar);
279 optopt = optchar;
301 warnx(recargchar, optchar);
302 optopt = optchar;
[all...]
/freebsd-11-stable/contrib/flex/
H A Dscanopt.c540 char optchar[2];
550 optchar[0] =
552 optchar[1] = '\0';
553 optname = optchar;
539 char optchar[2]; local
/freebsd-11-stable/usr.bin/units/
H A Dunits.c757 int optchar; local
772 while ((optchar = getopt_long(argc, argv, "+ehf:o:qtvH:UV", longopts, NULL)) != -1) {
773 switch (optchar) {

Completed in 89 milliseconds