Go to the documentation of this file.
49 #define THIS_IS__STDC__ 1
85 #if !HAVE_DECL_GETOPT_LONG
109 #if defined (THIS_IS__STDC__) && THIS_IS__STDC__
123 #define no_argument 0
124 #define required_argument 1
125 #define optional_argument 2
129 #if defined (THIS_IS__STDC__) && THIS_IS__STDC__
135 #if defined (__GNU_LIBRARY__) || (defined (HAVE_DECL_GETOPT) && !HAVE_DECL_GETOPT)
139 extern int getopt (
int argc,
char *
const *argv,
const char *shortopts);
141 # if !defined (HAVE_DECL_GETOPT)
142 extern int getopt ();
145 #if !HAVE_DECL_GETOPT_LONG
146 extern int getopt_long (
int argc,
char *
const *argv,
const char *shortopts,
147 const struct option *longopts,
int *longind);
149 const char *shortopts,
150 const struct option *longopts,
int *longind);
154 const char *shortopts,
155 const struct option *longopts,
int *longind,
159 #if !HAVE_DECL_GETOPT
160 extern int getopt ();
162 #if !HAVE_DECL_GETOPT_LONG