Home
last modified time | relevance | path

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

/picolibc-3.5.0-3.4.0/newlib/libc/stdlib/
Dgetopt.c190 getopt_internal (int argc, char *const argv[], const char *shortopts, in getopt_internal() argument
214 if (argc == 0 || argv == 0 || (shortopts == 0 && longopts == 0) in getopt_internal()
225 if (shortopts != 0 && (*shortopts == '-' || *shortopts == '+')) in getopt_internal()
227 ordering = (*shortopts == '-') ? RETURN_IN_ORDER : REQUIRE_ORDER; in getopt_internal()
228 shortopts++; in getopt_internal()
234 if (shortopts != 0 && *shortopts == ':') in getopt_internal()
236 ++shortopts; in getopt_internal()
350 if (longopt_match < 0 && shortopts != 0) in getopt_internal()
352 cp = strchr (shortopts, argv[data->optind][data->optwhere]); in getopt_internal()
477 getopt_long (int argc, char *const argv[], const char *shortopts, in getopt_long() argument
[all …]