libspf2 1.2.11
Data Structures | 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.

Data Structures

struct  option
 

Macros

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

Functions

int getopt ()
 
int getopt_long ()
 
int getopt_long_only ()
 
int _getopt_internal ()
 

Variables

char * optarg
 
int optind
 
int opterr
 
int optopt
 

Macro Definition Documentation

◆ no_argument

#define no_argument   0

Definition at line 95 of file getopt.h.

◆ optional_argument

#define optional_argument   2

Definition at line 97 of file getopt.h.

◆ required_argument

#define required_argument   1

Definition at line 96 of file getopt.h.

Function Documentation

◆ _getopt_internal()

int _getopt_internal ( )

◆ getopt()

int getopt ( )

Referenced by main().

◆ getopt_long()

int getopt_long ( )

◆ getopt_long_only()

int getopt_long_only ( )

Referenced by main().

Variable Documentation

◆ optarg

char* optarg
extern

Definition at line 120 of file getopt_long_only.c.

Referenced by _getopt_internal(), and main().

◆ opterr

int opterr
extern

Definition at line 155 of file getopt_long_only.c.

Referenced by _getopt_internal().

◆ optind

int optind
extern

Definition at line 135 of file getopt_long_only.c.

Referenced by _getopt_internal(), and main().

◆ optopt

int optopt
extern

Definition at line 161 of file getopt_long_only.c.

Referenced by _getopt_internal().