Lines Matching refs:shortopts
190 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
484 r = getopt_internal (argc, argv, shortopts, longopts, longind, 0, &data); in getopt_long()
490 getopt_long_only (int argc, char *const argv[], const char *shortopts, in getopt_long_only() argument
497 r = getopt_internal (argc, argv, shortopts, longopts, longind, 1, &data); in getopt_long_only()
510 __getopt_long_r (int argc, char *const argv[], const char *shortopts, in __getopt_long_r() argument
514 return getopt_internal (argc, argv, shortopts, longopts, longind, 0, data); in __getopt_long_r()
518 __getopt_long_only_r (int argc, char *const argv[], const char *shortopts, in __getopt_long_only_r() argument
522 return getopt_internal (argc, argv, shortopts, longopts, longind, 1, data); in __getopt_long_only_r()