32 #ifdef __GNU_LIBRARY__
42 const struct option *long_options,
int *opt_index)
50 const struct option *long_options,
int *opt_index,
65 const struct option *long_options,
int *opt_index)
73 const struct option *long_options,
int *opt_index,
95 static struct option long_options[] =
100 {
"verbose", 0, 0, 0},
107 long_options, &option_index);
114 printf (
"option %s", long_options[option_index].
name);
130 if (digit_optind != 0 && digit_optind != this_option_optind)
131 printf (
"digits occur in two different argv-elements.\n");
132 digit_optind = this_option_optind;
156 printf (
"?? getopt returned character code 0%o ??\n",
c);
162 printf (
"non-option ARGV-elements: ");
_Use_decl_annotations_ int __cdecl printf(const char *const _Format,...)
#define __getopt_argv_const
static static fork const void static count static fd const char const char static newpath char char argv
static const char struct stat static buf struct stat static buf static vhangup int options
int main(int argc, char **argv)
int _getopt_internal_r(int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, int posixly_correct, struct _getopt_data *d)
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)