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

Macros

#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 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

char * optarg
 
int opterr
 
int optind
 
int optopt
 

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

Definition at line 500 of file getopt.c.

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

Definition at line 60 of file getopt1.c.

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

Definition at line 72 of file getopt1.c.

Variable Documentation

char* optarg

Definition at line 116 of file getopt.c.

int opterr

Definition at line 151 of file getopt.c.

int optind

Definition at line 131 of file getopt.c.

int optopt

Definition at line 157 of file getopt.c.



sdhlibrary_cpp
Author(s): Dirk Osswald
autogenerated on Sun Aug 18 2019 03:42:20