Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
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
 

Functions

int getopt (int argc, char *const argv[], const char *optstring)
 
int getopt_long (int argc, char *const argv[], const char *optstring, const struct option *longopts, int *longindex)
 

Variables

const int no_argument
 
const int required_argument
 
const int optional_argument
 
char * optarg
 
int optind
 
int opterr
 
int optopt
 

Function Documentation

◆ getopt()

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

Definition at line 52 of file getopt.c.

+ Here is the caller graph for this function:

◆ getopt_long()

int getopt_long ( int  argc,
char *const  argv[],
const char *  optstring,
const struct option longopts,
int *  longindex 
)

Definition at line 158 of file getopt.c.

+ Here is the call graph for this function:

Variable Documentation

◆ no_argument

const int no_argument
extern

Definition at line 32 of file getopt.c.

◆ optarg

char* optarg
extern

Definition at line 36 of file getopt.c.

◆ opterr

int opterr

Definition at line 39 of file getopt.h.

◆ optind

int optind
extern

Definition at line 39 of file getopt.c.

◆ optional_argument

const int optional_argument
extern

Definition at line 34 of file getopt.c.

◆ optopt

int optopt

Definition at line 39 of file getopt.h.

◆ required_argument

const int required_argument
extern

Definition at line 33 of file getopt.c.