- Main Page
- Data Structures
- Files
- Related Pages

- Alphabetical List
- Data Structures
- Data Fields

# option Struct Reference

getopt_long option

`#include <getopt_long.h>`

## Data Fields
const char * | name
int | has_arg
int * | flag
int | val

## Field Documentation

const char* option::name

option long name

int option::has_arg

no, required or optional argument flag

int* option::flag

pointer to variable to set (if null, returns)

int option::val

value to set or to return

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

- getopt_long.h