33 #if !defined __GNU_LIBRARY__ 96 # if (defined __STDC__ && __STDC__) || defined __cplusplus 110 # define no_argument 0 111 # define required_argument 1 112 # define optional_argument 2 140 #if (defined __STDC__ && __STDC__) || defined __cplusplus 141 # ifdef __GNU_LIBRARY__ 145 extern int getopt (
int __argc,
char *
const *__argv,
const char *__shortopts);
150 # ifndef __need_getopt 151 extern int getopt_long (
int __argc,
char *
const *__argv,
const char *__shortopts,
152 const struct option *__longopts,
int *__longind);
154 const char *__shortopts,
155 const struct option *__longopts,
int *__longind);
159 const char *__shortopts,
160 const struct option *__longopts,
int *__longind,
165 # ifndef __need_getopt int val
Definition: getopt.h:105
char * name
Definition: getopt.h:99
int getopt_long_only(int __argc, char *const *__argv, const char *__shortopts, const struct option *__longopts, int *__longind)
int _getopt_internal(int __argc, char *const *__argv, const char *__shortopts, const struct option *__longopts, int *__longind, int __long_only)
Definition: getopt.c:510
int getopt_long(int __argc, char *const *__argv, const char *__shortopts, const struct option *__longopts, int *__longind)
int optopt
Definition: getopt.c:153
const char * name
Definition: getopt.h:97
char * optarg
Definition: getopt.c:112
int optind
Definition: getopt.c:127
int * flag
Definition: getopt.h:104
int opterr
Definition: getopt.c:147
int has_arg
Definition: getopt.h:103
int getopt(int __argc, char *const *__argv, const char *__shortopts)
Definition: getopt.c:976