Home
last modified time | relevance | path

Searched refs:nargc (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/lib/posix/options/getopt/
Dgetopt.h82 int getopt_long(int nargc, char *const *nargv,
109 int getopt_long_only(int nargc, char *const *nargv,
Dgetopt.c78 int getopt(int nargc, char *const nargv[], const char *ostr) in getopt() argument
89 if (state->optind >= nargc || *state->place++ != '-') { in getopt()
144 } else if (nargc > ++state->optind) { in getopt()
Dgetopt_long.c346 getopt_internal(struct getopt_state *state, int nargc, char * const *nargv, argument
392 if (state->optind >= nargc) { /* end of argument vector */
539 } else if (++(state->optind) >= nargc) { /* no arg */
546 } else if ((state->optind) < nargc) {
566 if (++state->optind >= nargc) { /* no arg */
588 getopt_long(int nargc, char *const *nargv, argument
598 ret = getopt_internal(state, nargc, nargv, options, long_options, idx,
611 getopt_long_only(int nargc, char *const *nargv, argument
621 ret = getopt_internal(state, nargc, nargv, options, long_options, idx,