Documentation - C API
option Struct Reference

getopt_long option

#include <getopt_long.h>

Data Fields

const char * name
int has_arg
int * flag
int val

Field Documentation

int* option::flag

pointer to a variable to set (if NULL, the value is returned instead)

int option::has_arg

flag indicating whether the option has no, required or optional argument

const char* option::name

option long name

int option::val

value to set or to return


The documentation for this struct was generated from the following file: