Ninja
Classes | Macros | 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
 

Macros

#define no_argument   0
 
#define OPTIONAL_ARG   2
 
#define required_argument   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
 

Macro Definition 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_argument   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 
)

Referenced by main().

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