HomeSort by: relevance | last modified time | path
    Searched defs:optind (Results 1 - 2 of 2) sorted by relevancy

  /src/lib/libc/stdlib/
getopt_long.c 61 int optind = 1; /* index into parent argv vector */ variable in typeref:typename:int
180 * XXX re-initialize optind to 0 and have getopt_long(3)
183 if (optind == 0)
184 optind = 1;
191 if (optind >= nargc) { /* end of argument vector */
196 optind, nargv);
197 optind -= nonopt_end - nonopt_start;
201 * If we skipped non-options, set optind
204 optind = nonopt_start;
209 if ((*(place = nargv[optind]) != '-'
    [all...]
  /src/bin/ksh/
sh.h 451 int optind; member in struct:__anon45e5e27b0108
452 int uoptind;/* what user sees in $OPTIND */
456 unsigned int p; /* 0 or index into argv[optind - 1] */

Completed in 13 milliseconds