option Struct Reference

The option specifier structure for long options. More...

#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 .


Detailed Description

The option specifier structure for long options.


Field Documentation

const char* option::name

The long option name.

If option has an argument one of no_argument required_argument or optional_argument .

If not NULL, set *flag to val when option found.

If flag not NULL, value to set *flag to otherwise the value returned by getopt_long .


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

Generated on Tue Jan 20 14:29:01 2009 for ABLE LIBC by  doxygen 1.5.6