Classes | |
struct | option |
Defines | |
#define | no_argument 0 |
#define | required_argument 1 |
#define | optional_argument 2 |
Functions | |
int | getopt () |
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) |
int | _getopt_internal (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *longind, int long_only) |
Variables | |
char * | optarg |
int | optind |
int | opterr |
int | optopt |
#define no_argument 0 |
#define optional_argument 2 |
#define required_argument 1 |
int _getopt_internal | ( | int | argc, |
char *const * | argv, | ||
const char * | shortopts, | ||
const struct option * | longopts, | ||
int * | longind, | ||
int | long_only | ||
) |
int getopt | ( | ) |
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 | ||
) |
char* optarg |
int opterr |
int optind |
int optopt |