getopt.h File Reference

Go to the source code of this file.

Classes

struct  option

Defines

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

Functions

int _getopt_internal (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *longind, int long_only)
int getopt (int argc, char *const *argv, const char *shortopts)
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)

Variables

const char * exec_name
char * optarg
int opterr
int optind
int optopt

Define Documentation

#define no_argument   0

Definition at line 95 of file getopt.h.

#define optional_argument   2

Definition at line 97 of file getopt.h.

#define required_argument   1

Definition at line 96 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 
)

Definition at line 310 of file getopt.cpp.

int getopt ( int  argc,
char *const *  argv,
const char *  shortopts 
)

Definition at line 650 of file getopt.cpp.

int getopt_long ( int  argc,
char *const *  argv,
const char *  shortopts,
const struct option longopts,
int *  longind 
)

Definition at line 643 of file getopt.cpp.

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

Variable Documentation

const char* exec_name

Definition at line 99 of file getopt.cpp.

char* optarg

Definition at line 107 of file getopt.cpp.

int opterr

Definition at line 136 of file getopt.cpp.

int optind

Definition at line 122 of file getopt.cpp.

int optopt

Definition at line 142 of file getopt.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:19:20 2013