Go to the source code of this file.
|
int | _getopt_internal (int ___argc, char *const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind, int __long_only, int posixly_correct) |
|
int | _getopt_internal_r (int ___argc, char *const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind, int __long_only, struct _getopt_data *__data, int posixly_correct) |
|
int | _getopt_long_r (int ___argc, char *const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind, struct _getopt_data *__data) |
|
int | _getopt_long_only_r (int ___argc, char *const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind, struct _getopt_data *__data) |
|
#define _GETOPT_DATA_INITIALIZER { 1, 1 } |
int _getopt_internal |
( |
int |
___argc, |
|
|
char *const * |
___argv, |
|
|
const char * |
__shortopts, |
|
|
const struct option * |
__longopts, |
|
|
int * |
__longind, |
|
|
int |
__long_only, |
|
|
int |
posixly_correct |
|
) |
| |
References _getopt_internal_r(), _getopt_data::optarg, optarg, _getopt_data::opterr, opterr, _getopt_data::optind, optind, _getopt_data::optopt, and optopt.
Referenced by getopt(), getopt_long(), and getopt_long_only().
int _getopt_internal_r |
( |
int |
___argc, |
|
|
char *const * |
___argv, |
|
|
const char * |
__shortopts, |
|
|
const struct option * |
__longopts, |
|
|
int * |
__longind, |
|
|
int |
__long_only, |
|
|
struct _getopt_data * |
__data, |
|
|
int |
posixly_correct |
|
) |
| |
References _, _getopt_data::__first_nonopt, _getopt_data::__initialized, _getopt_data::__last_nonopt, _getopt_data::__nextchar, _getopt_data::__ordering, option::flag, option::has_arg, option::name, NONOPTION_P, NULL, _getopt_data::optarg, _getopt_data::opterr, _getopt_data::optind, _getopt_data::optopt, _getopt_data::PERMUTE, _getopt_data::REQUIRE_ORDER, and option::val.
Referenced by _getopt_internal(), _getopt_long_only_r(), and _getopt_long_r().
int _getopt_long_only_r |
( |
int |
___argc, |
|
|
char *const * |
___argv, |
|
|
const char * |
__shortopts, |
|
|
const struct option * |
__longopts, |
|
|
int * |
__longind, |
|
|
struct _getopt_data * |
__data |
|
) |
| |
int _getopt_long_r |
( |
int |
___argc, |
|
|
char *const * |
___argv, |
|
|
const char * |
__shortopts, |
|
|
const struct option * |
__longopts, |
|
|
int * |
__longind, |
|
|
struct _getopt_data * |
__data |
|
) |
| |