Home | History | Annotate | Download | only in getopt

Lines Matching refs:nonopt_end

88 static int nonopt_end = -1;   /* first option after non options (for permute) */
117 * Exchange the block from nonopt_start to nonopt_end with the block
118 * from nonopt_end to opt_end (keeping the same order of arguments
309 nonopt_start = nonopt_end = -1;
315 if (nonopt_end != -1) {
317 permute_args(nonopt_start, nonopt_end,
319 optind -= nonopt_end - nonopt_start;
328 nonopt_start = nonopt_end = -1;
352 else if (nonopt_end != -1) {
353 permute_args(nonopt_start, nonopt_end,
356 (nonopt_end - nonopt_start);
357 nonopt_end = -1;
363 if (nonopt_start != -1 && nonopt_end == -1)
364 nonopt_end = optind;
376 if (nonopt_end != -1) {
377 permute_args(nonopt_start, nonopt_end,
379 optind -= nonopt_end - nonopt_start;
381 nonopt_start = nonopt_end = -1;