Go to the source code of this file.
|
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) |
|
◆ no_argument
◆ optional_argument
#define optional_argument 2 |
◆ required_argument
#define required_argument 1 |
◆ _getopt_internal()
int _getopt_internal |
( |
int |
argc, |
|
|
char *const * |
argv, |
|
|
const char * |
shortopts, |
|
|
const struct option * |
longopts, |
|
|
int * |
longind, |
|
|
int |
long_only |
|
) |
| |
◆ getopt()
◆ getopt_long()
int getopt_long |
( |
int |
argc, |
|
|
char *const * |
argv, |
|
|
const char * |
shortopts, |
|
|
const struct option * |
longopts, |
|
|
int * |
longind |
|
) |
| |
◆ getopt_long_only()
int getopt_long_only |
( |
int |
argc, |
|
|
char *const * |
argv, |
|
|
const char * |
shortopts, |
|
|
const struct option * |
longopts, |
|
|
int * |
longind |
|
) |
| |
◆ optarg
◆ opterr
◆ optind
◆ optopt