38#define LIB_API_GETOPT __declspec(dllexport)
40#define LIB_API_GETOPT __declspec(dllimport)
45#elif __linux__ || __APPLE__
50extern LIB_API_GETOPT
char *
optarg;
86#define required_argument 1
87#define optional_argument 2
89extern LIB_API_GETOPT
int getopt(
int argc,
char *argv[],
const char *optstring);
90extern LIB_API_GETOPT
int getopt_long(
int argc,
char* argv[],
const char* optstring,
const struct option *longopts,
int *longindex);
LIB_API_GETOPT int opterr
LIB_API_GETOPT int getopt_long(int argc, char *argv[], const char *optstring, const struct option *longopts, int *longindex)
LIB_API_GETOPT int getopt(int argc, char *argv[], const char *optstring)
LIB_API_GETOPT int optopt
LIB_API_GETOPT int optind
LIB_API_GETOPT char * optarg