Lines Matching refs:nargc
292 getopt_internal(int nargc, char * const *nargv, const char *options, in getopt_internal() argument
328 if (optind >= nargc) { /* end of argument vector */ in getopt_internal()
444 else if (++optind >= nargc) { /* no arg */ in getopt_internal()
466 if (++optind >= nargc) { /* no arg */ in getopt_internal()
480 if (optind + 1 < nargc && *nargv[optind + 1] != '-') in getopt_internal()
498 getopt(int nargc, char * const *nargv, const char *options) in getopt() argument
509 return (getopt_internal(nargc, nargv, options, NULL, NULL, 0)); in getopt()
518 getopt_long(int nargc, char * const *nargv, const char *options, in getopt_long() argument
522 return (getopt_internal(nargc, nargv, options, long_options, idx, in getopt_long()
531 getopt_long_only(int nargc, char * const *nargv, const char *options, in getopt_long_only() argument
535 return (getopt_internal(nargc, nargv, options, long_options, idx, in getopt_long_only()