dlvhex  2.5.0
vs10/getopt.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  option

Defines

#define no_argument   0
#define required_argument   1
#define optional_argument   2

Functions

int getopt ()
int getopt_long (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *longind)
int getopt_long_only (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *longind)
int _getopt_internal (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *longind, int long_only)

Variables

char * optarg
int optind
int opterr
int optopt

Define Documentation

#define no_argument   0

Definition at line 97 of file getopt.h.

Referenced by processOptionsPrePlugin().

#define optional_argument   2

Definition at line 99 of file getopt.h.

Referenced by getopt_long(), and processOptionsPrePlugin().

#define required_argument   1

Definition at line 98 of file getopt.h.

Referenced by getopt_long(), and processOptionsPrePlugin().


Function Documentation

int _getopt_internal ( int  argc,
char *const *  argv,
const char *  shortopts,
const struct option longopts,
int *  longind,
int  long_only 
)
int getopt ( )
int getopt_long ( int  argc,
char *const *  argv,
const char *  shortopts,
const struct option longopts,
int *  longind 
)
int getopt_long_only ( int  argc,
char *const *  argv,
const char *  shortopts,
const struct option longopts,
int *  longind 
)

Variable Documentation

char* optarg

Definition at line 44 of file getopt.c.

int opterr

Definition at line 40 of file getopt.c.

int optind

Definition at line 41 of file getopt.c.

int optopt

Definition at line 42 of file getopt.c.