Lines Matching refs:optchar
281 int optchar, short_too; in getopt_internal() local
400 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
402 if (optchar != -1) { in getopt_internal()
404 return (optchar); in getopt_internal()
408 if ((optchar = (int)*place++) == (int)':' || in getopt_internal()
409 (optchar == (int)'-' && *place != '\0') || in getopt_internal()
410 (oli = strchr(options, optchar)) == NULL) { in getopt_internal()
416 if (optchar == (int)'-' && *place == '\0') in getopt_internal()
421 fprintf(stderr, illoptchar, optchar); in getopt_internal()
422 optopt = optchar; in getopt_internal()
425 if (long_options != NULL && optchar == 'W' && oli[1] == ';') { in getopt_internal()
432 fprintf(stderr, recargchar, optchar); in getopt_internal()
433 optopt = optchar; in getopt_internal()
437 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
440 return (optchar); in getopt_internal()
453 fprintf(stderr, recargchar, optchar); in getopt_internal()
454 optopt = optchar; in getopt_internal()
463 return (optchar); in getopt_internal()