Lines Matching refs:optchar
227 int optchar, short_too; in getopt_internal() local
341 optchar = parse_long_options(nargv, options, long_options, idx, short_too); in getopt_internal()
342 if (optchar != -1) { in getopt_internal()
344 return (optchar); in getopt_internal()
348 if ((optchar = (int)*place++) == (int)':' || in getopt_internal()
349 (optchar == (int)'-' && *place != '\0') || in getopt_internal()
350 (oli = strchr(options, optchar)) == NULL) { in getopt_internal()
356 if (optchar == (int)'-' && *place == '\0') in getopt_internal()
361 warnx(illoptchar, optchar); in getopt_internal()
362 optopt = optchar; in getopt_internal()
365 if (long_options != NULL && optchar == 'W' && oli[1] == ';') { in getopt_internal()
372 warnx(recargchar, optchar); in getopt_internal()
373 optopt = optchar; in getopt_internal()
377 optchar = parse_long_options(nargv, options, long_options, idx, 0); in getopt_internal()
379 return (optchar); in getopt_internal()
392 warnx(recargchar, optchar); in getopt_internal()
393 optopt = optchar; in getopt_internal()
402 return (optchar); in getopt_internal()