Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/lib/posix/getopt/
Dgetopt.h78 int getopt_long(int nargc, char *const *nargv,
105 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
391 if (state->optind >= nargc) { /* end of argument vector */
538 } else if (++(state->optind) >= nargc) { /* no arg */
545 } else if ((state->optind) < nargc) {
565 if (++state->optind >= nargc) { /* no arg */
587 getopt_long(int nargc, char *const *nargv, argument
597 ret = getopt_internal(state, nargc, nargv, options, long_options, idx,
610 getopt_long_only(int nargc, char *const *nargv, argument
620 ret = getopt_internal(state, nargc, nargv, options, long_options, idx,