#include <getopt.h>
Data Fields | |
const char * | name |
The long option name. | |
int | has_arg |
If option has an argument one of no_argument required_argument or optional_argument . | |
int * | flag |
If not NULL, set *flag to val when option found. | |
int | val |
If flag not NULL, value to set *flag to otherwise the value returned by getopt_long . |
const char* option::name |
The long option name.
int option::has_arg |
If option has an argument one of no_argument required_argument or optional_argument .
int* option::flag |
If not NULL, set *flag to val when option found.
int option::val |
If flag not NULL, value to set *flag to otherwise the value returned by getopt_long .