Home
last modified time | relevance | path

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

/netbsd-src/lib/libc/stdlib/
H A Dgetopt_long.c96 static int nonopt_start = -1; /* first non option argument (for permute) */ variable
187 nonopt_start = nonopt_end = -1; in getopt_internal()
195 permute_args(nonopt_start, nonopt_end, in getopt_internal()
197 optind -= nonopt_end - nonopt_start; in getopt_internal()
199 else if (nonopt_start != -1) { in getopt_internal()
204 optind = nonopt_start; in getopt_internal()
206 nonopt_start = nonopt_end = -1; in getopt_internal()
228 if (nonopt_start == -1) in getopt_internal()
229 nonopt_start = optind; in getopt_internal()
231 permute_args(nonopt_start, nonopt_end, in getopt_internal()
[all …]
/netbsd-src/external/bsd/file/dist/src/
H A Dgetopt_long.c105 static int nonopt_start = -1; /* first non option argument (for permute) */ variable
205 nonopt_start = nonopt_end = -1;
213 permute_args(nonopt_start, nonopt_end,
215 optind -= nonopt_end - nonopt_start;
217 else if (nonopt_start != -1) {
222 optind = nonopt_start;
224 nonopt_start = nonopt_end = -1;
246 if (nonopt_start == -1)
247 nonopt_start = optind;
249 permute_args(nonopt_start, nonopt_end,
[all …]
/netbsd-src/external/bsd/libfido2/dist/openbsd-compat/
H A Dgetopt_long.c95 static int nonopt_start = -1; /* first non option argument (for permute) */ variable
317 nonopt_start = nonopt_end = -1; in getopt_internal()
325 permute_args(nonopt_start, nonopt_end, in getopt_internal()
327 optind -= nonopt_end - nonopt_start; in getopt_internal()
329 else if (nonopt_start != -1) { in getopt_internal()
334 optind = nonopt_start; in getopt_internal()
336 nonopt_start = nonopt_end = -1; in getopt_internal()
358 if (nonopt_start == -1) in getopt_internal()
359 nonopt_start = optind; in getopt_internal()
361 permute_args(nonopt_start, nonopt_end, in getopt_internal()
[all …]