34#if defined __GETOPT_PREFIX && !defined __need_getopt
41# undef getopt_long_only
46# define __GETOPT_CONCAT(x, y) x ## y
47# define __GETOPT_XCONCAT(x, y) __GETOPT_CONCAT (x, y)
48# define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
49# define getopt __GETOPT_ID (getopt)
50# define getopt_long __GETOPT_ID (getopt_long)
51# define getopt_long_only __GETOPT_ID (getopt_long_only)
52# define optarg __GETOPT_ID (optarg)
53# define opterr __GETOPT_ID (opterr)
54# define optind __GETOPT_ID (optind)
55# define optopt __GETOPT_ID (optopt)
74#if !defined __need_getopt
75# if defined __GETOPT_PREFIX
76# define __getopt_argv_const
78# define __getopt_argv_const const
89#if !defined __GNU_LIBRARY__
95# define __GNUC_PREREQ(maj, min) (0)
97# if defined __cplusplus && __GNUC_PREREQ (2,8)
98# define __THROW throw ()
173# define no_argument 0
174# define required_argument 1
175# define optional_argument 2
204extern int getopt (
int ___argc,
char *
const *___argv,
const char *__shortopts)
209 const char *__shortopts,
210 const struct option *__longopts,
int *__longind)
213 const char *__shortopts,
214 const struct option *__longopts,
int *__longind)
Definition getopt.in.h:162
int val
Definition getopt.in.h:168
int * flag
Definition getopt.in.h:167
const char * name
Definition getopt.in.h:163
int has_arg
Definition getopt.in.h:166
int getopt_long_only(int ___argc, char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind) __THROW
Definition getopt1.c:63
#define __getopt_argv_const
Definition getopt.in.h:78
int optopt
Definition getopt.c:107
#define __THROW
Definition getopt.in.h:100
int getopt_long(int ___argc, char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind) __THROW
Definition getopt1.c:41
int getopt(int ___argc, char *const *___argv, const char *__shortopts) __THROW
Definition getopt.c:1122
int optind
Definition getopt.c:96
char * optarg
Definition getopt.c:81
int opterr
Definition getopt.c:101