Lines Matching refs:optnext
338 shellparam.optnext = NULL; in setparam()
454 shellparam.optnext = optbase; in getoptscmd()
460 return getopts(argv[1], argv[2], optbase, &shellparam.optnext, in getoptscmd()
465 getopts(char *optstr, char *optvar, char **optfirst, char ***optnext, in getopts() argument
478 if (*optnext == NULL) in getopts()
480 p = **optnext; in getopts()
483 ind = *optnext - optfirst + 1; in getopts()
484 *optnext = NULL; in getopts()
489 (*optnext)++; in getopts()
512 if (*p == '\0' && (p = **optnext) == NULL) { in getopts()
526 if (p == **optnext) in getopts()
527 (*optnext)++; in getopts()
533 if (*optnext != NULL) in getopts()
534 ind = *optnext - optfirst + 1; in getopts()
549 *optnext = NULL; in getopts()