83 #if defined (__STDC__) && __STDC__ 98 #define required_argument 1 99 #define optional_argument 2 101 #if defined (__GNU_LIBRARY__) || defined (__cplusplus) || defined (CYGWIN) 105 extern int getopt (
int argc,
char *
const *argv,
const char *shortopts);
109 extern int getopt_long (
int argc,
char *
const *argv,
const char *shortopts,
110 const struct option *longopts,
int *longind);
112 const char *shortopts,
113 const struct option *longopts,
int *longind);
117 const char *shortopts,
118 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)
int getopt_long(int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *longind)
int getopt_long_only(int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *longind)