rtl433  UNKNOWN
RTL-433 utility
getopt.h File Reference

Go to the source code of this file.

Data Structures

struct  option
 

Functions

int getopt (int __argc, char *const *__argv, const char *__shortopts)
 
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)
 
int _getopt_internal (int __argc, char *const *__argv, const char *__shortopts, const struct option *__longopts, int *__longind, int __long_only)
 
int getopt_long ()
 
int getopt_long_only ()
 
int _getopt_internal ()
 

Variables

char * optarg
 
int optind
 
int opterr
 
int optopt
 

Function Documentation

◆ _getopt_internal() [1/2]

int _getopt_internal ( int  __argc,
char *const *  __argv,
const char *  __shortopts,
const struct option __longopts,
int *  __longind,
int  __long_only 
)

◆ _getopt_internal() [2/2]

int _getopt_internal ( )

◆ getopt() [1/2]

int getopt ( int  __argc,
char *const *  __argv,
const char *  __shortopts 
)

References _getopt_internal().

Referenced by hasopt(), main(), and parse_conf_args().

◆ getopt() [2/2]

int getopt ( )

◆ getopt_long() [1/2]

int getopt_long ( int  __argc,
char *const *  __argv,
const char *  __shortopts,
const struct option __longopts,
int *  __longind 
)

◆ getopt_long() [2/2]

int getopt_long ( )

◆ getopt_long_only() [1/2]

int getopt_long_only ( int  __argc,
char *const *  __argv,
const char *  __shortopts,
const struct option __longopts,
int *  __longind 
)

◆ getopt_long_only() [2/2]

int getopt_long_only ( )

Variable Documentation

◆ optarg

char* optarg

◆ opterr

int opterr

Referenced by _getopt_internal().

◆ optind

◆ optopt

int optopt