Lines Matching refs:optchar
318 int optchar; in getopt_long_r() local
334 optchar = parse_long_options_r(nargv, options, long_options, idx, in getopt_long_r()
336 if (optchar != -1) { in getopt_long_r()
338 return optchar; in getopt_long_r()
343 if ((optchar = (int)*(context->place)++) == (int)':' || in getopt_long_r()
344 (optchar == (int)'-' && *context->place != '\0') || in getopt_long_r()
345 !(oli = strchr(options, optchar))) { in getopt_long_r()
349 if (optchar == (int)'-' && *context->place == '\0') return -1; in getopt_long_r()
353 optchar); in getopt_long_r()
355 context->optopt = optchar; in getopt_long_r()
360 if (long_options && optchar == 'W' && oli[1] == ';') { in getopt_long_r()
367 fprintf(context->optstderr ?: stderr, recargchar, optchar); in getopt_long_r()
369 context->optopt = optchar; in getopt_long_r()
375 optchar = parse_long_options_r(nargv, options, long_options, idx, false, in getopt_long_r()
378 return optchar; in getopt_long_r()
390 fprintf(context->optstderr ?: stderr, recargchar, optchar); in getopt_long_r()
392 context->optopt = optchar; in getopt_long_r()
401 return optchar; in getopt_long_r()