114 if (digit_optind != 0 && digit_optind != this_option_optind)
115 printf (
"digits occur in two different argv-elements.\n");
116 digit_optind = this_option_optind;
140 printf (
"?? getopt returned character code 0%o ??\n",
c);
146 printf (
"non-option ARGV-elements: ");
int getopt_long_only(int argc, char *__getopt_argv_const *argv, const char *options, const struct option *long_options, int *opt_index)
int getopt_long(int argc, char *__getopt_argv_const *argv, const char *options, const struct option *long_options, int *opt_index)
int _getopt_long_r(int argc, char **argv, const char *options, const struct option *long_options, int *opt_index, struct _getopt_data *d)
int _getopt_long_only_r(int argc, char **argv, const char *options, const struct option *long_options, int *opt_index, struct _getopt_data *d)
int _getopt_internal(optarg_ctx *o, int argc, WCHAR *const *argv, const WCHAR *optstring, const struct option *longopts, int *longind, int long_only)
static const struct option long_options[]