Home
last modified time | relevance | path

Searched refs:optchar (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/unistd/
Dgetopt_long.c296 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()
[all …]