Ninja
Classes | Defines | Typedefs | Functions | Variables
getopt.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GETOPT_LONG_OPTION_T

Defines

#define no_argument   0
#define OPTIONAL_ARG   2
#define REQUIRED_ARG   1

Typedefs

typedef struct GETOPT_LONG_OPTION_T GETOPT_LONG_OPTION_T
typedef GETOPT_LONG_OPTION_T option

Functions

int getopt (int argc, char **argv, char *optstring)
int getopt_long (int argc, char **argv, const char *shortopts, const GETOPT_LONG_OPTION_T *longopts, int *longind)
int getopt_long_only (int argc, char **argv, const char *shortopts, const GETOPT_LONG_OPTION_T *longopts, int *longind)

Variables

char * optarg
int opterr
int optind
int optopt

Define Documentation

#define no_argument   0

Definition at line 7 of file getopt.h.

Referenced by MSVCHelperMain().

#define OPTIONAL_ARG   2

Definition at line 9 of file getopt.h.

#define REQUIRED_ARG   1

Definition at line 8 of file getopt.h.


Typedef Documentation

Definition at line 28 of file getopt.h.


Function Documentation

int getopt ( int  argc,
char **  argv,
char *  optstring 
)
int getopt_long ( int  argc,
char **  argv,
const char *  shortopts,
const GETOPT_LONG_OPTION_T longopts,
int *  longind 
)

Referenced by MSVCHelperMain().

int getopt_long_only ( int  argc,
char **  argv,
const char *  shortopts,
const GETOPT_LONG_OPTION_T longopts,
int *  longind 
)

Variable Documentation

char* optarg

Referenced by MSVCHelperMain().

int opterr
int optind
int optopt