Rizin
unix-like reverse engineering framework and cli tools
|
#include <ctype.h>
Go to the source code of this file.
Classes | |
struct | option |
Macros | |
#define | _GETOPT_H 1 |
#define | __getopt_argv_const const |
#define | __GNUC_PREREQ(maj, min) (0) |
#define | __THROW |
#define | no_argument 0 |
#define | required_argument 1 |
#define | optional_argument 2 |
Functions | |
int | getopt (int ___argc, char *const *___argv, const char *__shortopts) __THROW |
int | getopt_long (int ___argc, char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind) __THROW |
int | getopt_long_only (int ___argc, char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind) __THROW |
Variables | |
char * | optarg |
int | optind |
int | opterr |
int | optopt |
#define __getopt_argv_const const |
Definition at line 78 of file getopt.in.h.
#define __GNUC_PREREQ | ( | maj, | |
min | |||
) | (0) |
Definition at line 95 of file getopt.in.h.
#define __THROW |
Definition at line 100 of file getopt.in.h.
#define _GETOPT_H 1 |
Definition at line 23 of file getopt.in.h.
#define no_argument 0 |
Definition at line 173 of file getopt.in.h.
#define optional_argument 2 |
Definition at line 175 of file getopt.in.h.
#define required_argument 1 |
Definition at line 174 of file getopt.in.h.
Definition at line 973 of file getopt.c.
References _getopt_internal(), argv, BADARG, BADCH, EMSG, NULL, optarg, opterr, optind, optopt, optreset, and POSIXLY_CORRECT.
int getopt_long | ( | int | ___argc, |
char *__getopt_argv_const * | ___argv, | ||
const char * | __shortopts, | ||
const struct option * | __longopts, | ||
int * | __longind | ||
) |
Definition at line 41 of file getopt1.c.
References _getopt_internal(), argv, and options.
int getopt_long_only | ( | int | ___argc, |
char *__getopt_argv_const * | ___argv, | ||
const char * | __shortopts, | ||
const struct option * | __longopts, | ||
int * | __longind | ||
) |
|
extern |
Definition at line 9 of file getopt.h.
Referenced by _getopt_internal(), getopt(), main(), and parse_real().
|
extern |
Definition at line 5 of file getopt.h.
Referenced by _getopt_internal(), and getopt().
|
extern |
Definition at line 6 of file getopt.h.
Referenced by _getopt_initialize(), _getopt_internal(), args_parse(), exchange(), getopt(), main(), and parse_environment().
|
extern |
Definition at line 7 of file getopt.h.
Referenced by _getopt_internal(), and getopt().