Lines Matching refs:optchar
368 int optchar, short_too;
503 optchar = parse_long_options(nargv, options, long_options,
505 if (optchar != -1) {
507 return (optchar);
511 if ((optchar = (int)*place++) == (int)':' ||
512 (optchar == (int)'-' && *place != '\0') ||
513 (oli = strchr(options, optchar)) == NULL) {
519 if (optchar == (int)'-' && *place == '\0')
526 optchar);
529 warnx(illoptchar, optchar);
531 optopt = optchar;
534 if (long_options != NULL && optchar == 'W' && oli[1] == ';') {
541 warnx(recargchar, optchar);
542 optopt = optchar;
549 optchar = parse_long_options(nargv, options, long_options,
552 return (optchar);
565 warnx(recargchar, optchar);
566 optopt = optchar;
575 return (optchar);