Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetopt_long.c118 static int nonopt_start = -1; /* first non option argument (for permute) */ variable
513 nonopt_start = nonopt_end = -1; in getopt_internal()
537 permute_args(nonopt_start, nonopt_end, in getopt_internal()
539 optind -= nonopt_end - nonopt_start; in getopt_internal()
541 } else if (nonopt_start != -1) { in getopt_internal()
546 optind = nonopt_start; in getopt_internal()
548 nonopt_start = nonopt_end = -1; in getopt_internal()
569 if (nonopt_start == -1) in getopt_internal()
570 nonopt_start = optind; in getopt_internal()
572 permute_args(nonopt_start, nonopt_end, in getopt_internal()
[all …]