Go to the source code of this file.
|
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 () |
|
◆ _getopt_internal() [1/2]
int _getopt_internal |
( |
int |
__argc, |
|
|
char *const * |
__argv, |
|
|
const char * |
__shortopts, |
|
|
const struct option * |
__longopts, |
|
|
int * |
__longind, |
|
|
int |
__long_only |
|
) |
| |
References __getopt_initialized, _getopt_initialize(), exchange(), first_nonopt, option::flag, option::has_arg, last_nonopt, my_index(), option::name, nextchar, optarg, opterr, optind, optopt, ordering, PERMUTE, posixly_correct, REQUIRE_ORDER, strlen(), and option::val.
Referenced by getopt().
◆ _getopt_internal() [2/2]
◆ getopt() [1/2]
int getopt |
( |
int |
__argc, |
|
|
char *const * |
__argv, |
|
|
const char * |
__shortopts |
|
) |
| |
◆ getopt() [2/2]
◆ 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]
◆ 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]
◆ optarg
◆ opterr
◆ optind
◆ optopt