Home | History | Annotate | Download | only in getopt

Lines Matching full:nonopt_start

87 static int nonopt_start = -1; /* first non option argument (for permute) */
117 * Exchange the block from nonopt_start to nonopt_end with the block
309 nonopt_start = nonopt_end = -1;
317 permute_args(nonopt_start, nonopt_end,
319 optind -= nonopt_end - nonopt_start;
321 else if (nonopt_start != -1) {
326 optind = nonopt_start;
328 nonopt_start = nonopt_end = -1;
350 if (nonopt_start == -1)
351 nonopt_start = optind;
353 permute_args(nonopt_start, nonopt_end,
355 nonopt_start = optind -
356 (nonopt_end - nonopt_start);
363 if (nonopt_start != -1 && nonopt_end == -1)
377 permute_args(nonopt_start, nonopt_end,
379 optind -= nonopt_end - nonopt_start;
381 nonopt_start = nonopt_end = -1;