Rizin
unix-like reverse engineering framework and cli tools
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Friends Macros Modules Pages
getopt.h File Reference

Go to the source code of this file.

Functions

int getopt (int, char *const *, const char *)
 

Variables

char * optarg
 
int optind
 
int opterr
 

Function Documentation

◆ getopt()

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

Definition at line 973 of file getopt.c.

977 {
978  return _getopt_internal (argc, argv, optstring,
979  (const struct option *) 0,
980  (int *) 0,
981  0);
982 }
static static fork const void static count static fd const char const char static newpath char char argv
Definition: sflib.h:40
Definition: getopt.h:84
int _getopt_internal(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only)
Definition: getopt.c:514

Variable Documentation

◆ optarg

char* optarg
extern

Definition at line 9 of file getopt.h.

◆ opterr

int opterr
extern

Definition at line 5 of file getopt.h.

◆ optind

int optind
extern

Definition at line 6 of file getopt.h.