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

/bionic/libc/upstream-freebsd/lib/libc/stdlib/
H A Dgetopt_long.c361 int optchar, short_too; local
496 optchar = parse_long_options(nargv, options, long_options,
498 if (optchar != -1) {
500 return (optchar);
504 if ((optchar = (int)*place++) == (int)':' ||
505 (optchar == (int)'-' && *place != '\0') ||
506 (oli = strchr(options, optchar)) == NULL) {
512 if (optchar == (int)'-' && *place == '\0')
519 optchar);
522 warnx(illoptchar, optchar);
[all...]

Completed in 343 milliseconds