Lines Matching refs:optchar
358 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);
518 optopt = optchar;
521 if (long_options != NULL && optchar == 'W' && oli[1] == ';') {
528 warnx(recargchar, optchar);
529 optopt = optchar;
536 optchar = parse_long_options(nargv, options, long_options,
539 return (optchar);
552 warnx(recargchar, optchar);
553 optopt = optchar;
562 return (optchar);