Home | History | Annotate | Download | only in getopt

Lines Matching defs:optchar

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