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

/freebsd-10.3-release/lib/libc/stdlib/
H A Dgetopt_long.c361 int optchar, short_too; local
490 optchar = parse_long_options(nargv, options, long_options,
492 if (optchar != -1) {
494 return (optchar);
498 if ((optchar = (int)*place++) == (int)':' ||
499 (optchar == (int)'-' && *place != '\0') ||
500 (oli = strchr(options, optchar)) == NULL) {
506 if (optchar == (int)'-' && *place == '\0')
513 optchar);
516 warnx(illoptchar, optchar);
[all...]
/freebsd-10.3-release/crypto/openssh/openbsd-compat/
H A Dgetopt_long.c298 int optchar, short_too; local
417 optchar = parse_long_options(nargv, options, long_options,
419 if (optchar != -1) {
421 return (optchar);
425 if ((optchar = (int)*place++) == (int)':' ||
426 (optchar == (int)'-' && *place != '\0') ||
427 (oli = strchr(options, optchar)) == NULL) {
433 if (optchar == (int)'-' && *place == '\0')
438 warnx(illoptchar, optchar);
439 optopt = optchar;
[all...]
/freebsd-10.3-release/contrib/file/src/
H A Dgetopt_long.c183 int optchar; local
260 if ((optchar = (int)*place++) == (int)':' ||
261 (oli = strchr(options + (IGNORE_FIRST ? 1 : 0), optchar)) == NULL) {
266 warnx(illoptchar, optchar);
267 optopt = optchar;
270 if (optchar == 'W' && oli[1] == ';') { /* -W long-option */
278 warnx(recargchar, optchar);
279 optopt = optchar;
301 warnx(recargchar, optchar);
302 optopt = optchar;
[all...]
/freebsd-10.3-release/contrib/flex/
H A Dscanopt.c540 char optchar[2];
550 optchar[0] =
552 optchar[1] = '\0';
553 optname = optchar;
539 char optchar[2]; local
/freebsd-10.3-release/usr.bin/units/
H A Dunits.c678 int optchar; local
682 while ((optchar = getopt(argc, argv, "vqf:")) != -1) {
683 switch (optchar) {

Completed in 109 milliseconds