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.

Classes

struct  option
 

Macros

#define _GETOPT_H   1
 
#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

◆ _GETOPT_H

#define _GETOPT_H   1

Definition at line 23 of file getopt.h.

◆ no_argument

#define no_argument   0

Definition at line 99 of file getopt.h.

◆ optional_argument

#define optional_argument   2

Definition at line 101 of file getopt.h.

◆ required_argument

#define required_argument   1

Definition at line 100 of file getopt.h.

Function Documentation

◆ _getopt_internal()

int _getopt_internal ( )

◆ getopt()

int getopt ( )

◆ getopt_long()

int getopt_long ( )

◆ getopt_long_only()

int getopt_long_only ( )

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.

◆ optopt

int optopt
extern

Definition at line 7 of file getopt.h.