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);
147 extern int getopt ();
150 # ifndef __need_getopt
151 extern int getopt_long (
int __argc,
char *
const *__argv,
const char *__shortopts,
152 const struct option *__longopts,
int *__longind);
153 extern int getopt_long_only (
int __argc,
char *
const *__argv,
154 const char *__shortopts,
155 const struct option *__longopts,
int *__longind);
158 extern int _getopt_internal (
int __argc,
char *
const *__argv,
159 const char *__shortopts,
160 const struct option *__longopts,
int *__longind,
164 extern int getopt ();
165 # ifndef __need_getopt
166 extern int getopt_long ();
167 extern int getopt_long_only ();
169 extern int _getopt_internal ();