Lines Matching refs:optchar
296 int optchar, short_too; in getopt_internal() local
415 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
417 if (optchar != -1) { in getopt_internal()
419 return (optchar); in getopt_internal()
423 if (((optchar = (int)*place++) == (int)':') || in getopt_internal()
424 (optchar == (int)'-' && *place != '\0') || in getopt_internal()
425 (oli = strchr(options, optchar)) == NULL) { in getopt_internal()
431 if (optchar == (int)'-' && *place == '\0') in getopt_internal()
436 fprintf(stderr, illoptchar, optchar); in getopt_internal()
437 optopt = optchar; in getopt_internal()
440 if (long_options != NULL && optchar == 'W' && oli[1] == ';') { in getopt_internal()
447 fprintf(stderr, recargchar, optchar); in getopt_internal()
448 optopt = optchar; in getopt_internal()
452 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
455 return (optchar); in getopt_internal()
469 fprintf(stderr, recargchar, optchar); in getopt_internal()
470 optopt = optchar; in getopt_internal()
487 return (optchar); in getopt_internal()