Home | History | Annotate | Download | only in unistd

Lines Matching full:nargv

135 	char * const *nargv)
156 swap = nargv[pos];
158 ((char **) nargv)[pos] = nargv[cstart];
160 ((char **)nargv)[cstart] = swap;
171 parse_long_options(char * const *nargv, const char *options,
243 * optional argument doesn't use next nargv
245 optarg = nargv[optind++];
292 getopt_internal(int nargc, char * const *nargv, const char *options,
333 optind, nargv);
346 if (*(place = nargv[optind]) != '-' ||
354 optarg = nargv[optind++];
369 optind, nargv);
393 optind, nargv);
407 if (long_options != NULL && place != nargv[optind] &&
415 optchar = parse_long_options(nargv, options, long_options,
451 place = nargv[optind];
452 optchar = parse_long_options(nargv, options, long_options,
473 optarg = nargv[optind];
480 if (optind + 1 < nargc && *nargv[optind + 1] != '-')
481 optarg = nargv[++optind];
498 getopt(int nargc, char * const *nargv, const char *options)
509 return (getopt_internal(nargc, nargv, options, NULL, NULL, 0));
518 getopt_long(int nargc, char * const *nargv, const char *options,
522 return (getopt_internal(nargc, nargv, options, long_options, idx,
531 getopt_long_only(int nargc, char * const *nargv, const char *options,
535 return (getopt_internal(nargc, nargv, options, long_options, idx,