Spinnaker SDK C++
4.2.0.21
 
 

 
Loading...
Searching...
No Matches
Getopt.h File Reference

Classes

struct  option
 

Macros

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

Functions

int GetOption (int argc, char **argv, const char *pszValidOpts, const char **ppszParam)
 
int getopt (int argc, char *const argv[], const char *optstring)
 
int getopt_long (int, char **, char *, struct option *, int *)
 

Variables

int opterr
 
int optind
 
int optopt
 
int optreset
 
char * optarg
 

Macro Definition Documentation

◆ no_argument

#define no_argument   0

◆ optional_argument

#define optional_argument   2

◆ required_argument

#define required_argument   1

Function Documentation

◆ getopt()

int getopt ( int  argc,
char *const  argv[],
const char *  optstring 
)

◆ getopt_long()

int getopt_long ( int  ,
char **  ,
char *  ,
struct option ,
int *   
)

◆ GetOption()

int GetOption ( int  argc,
char **  argv,
const char *  pszValidOpts,
const char **  ppszParam 
)

Variable Documentation

◆ optarg

char* optarg
extern

◆ opterr

int opterr
extern

◆ optind

int optind
extern

◆ optopt

int optopt
extern

◆ optreset

int optreset
extern