dlvhex  2.5.0
vs12/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.

#define optional_argument   2

Definition at line 99 of file getopt.h.

#define required_argument   1

Definition at line 98 of file getopt.h.


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.

Referenced by getopt_internal(), getopt_long(), and processOptionsPrePlugin().

int opterr

Definition at line 40 of file getopt.c.

Referenced by getopt_internal(), getopt_long(), and processOptionsPrePlugin().

int optind

Definition at line 41 of file getopt.c.

Referenced by getopt_internal(), getopt_long(), and processOptionsPrePlugin().

int optopt

Definition at line 42 of file getopt.c.

Referenced by getopt_internal().