Lines Matching refs:optchar
298 int optchar, short_too; in getopt_internal() local
417 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
419 if (optchar != -1) { in getopt_internal()
421 return (optchar); in getopt_internal()
425 if ((optchar = (int)*place++) == (int)':' || in getopt_internal()
426 (optchar == (int)'-' && *place != '\0') || in getopt_internal()
427 (oli = strchr(options, optchar)) == NULL) { in getopt_internal()
433 if (optchar == (int)'-' && *place == '\0') in getopt_internal()
438 warnx(illoptchar, optchar); in getopt_internal()
439 optopt = optchar; in getopt_internal()
442 if (long_options != NULL && optchar == 'W' && oli[1] == ';') { in getopt_internal()
449 warnx(recargchar, optchar); in getopt_internal()
450 optopt = optchar; in getopt_internal()
454 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
457 return (optchar); in getopt_internal()
470 warnx(recargchar, optchar); in getopt_internal()
471 optopt = optchar; in getopt_internal()
480 return (optchar); in getopt_internal()