C API

option Struct Reference

#include <getopt_long.h>


Detailed Description

Definition at line 28 of file getopt_long.h.


Data Fields

const char * name
int has_arg
int * flag
int val

Field Documentation

const char* option::name

option long name

Definition at line 30 of file getopt_long.h.

Referenced by getopt_long().

no, required or optional argument flag

Definition at line 31 of file getopt_long.h.

pointer to variable to set (if null, returns)

Definition at line 32 of file getopt_long.h.

Referenced by getopt_long().

value to set or to return

Definition at line 33 of file getopt_long.h.

Referenced by getopt_long().


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