|
libcdio-paranoia 10.2+2.0.0
|
Macros | |
| #define | _NO_PROTO |
| #define | GETOPT_INTERFACE_VERSION 2 |
| #define | _(msgid) |
| #define | attribute_hidden |
| #define | SWAP_FLAGS(ch1, ch2) |
| #define | NONOPTION_P (argv[d->optind][0] != '-' || argv[d->optind][1] == '\0') |
Functions | |
| int | getopt (int argc, char *const *argv, const char *optstring) |
| char * | getenv () |
| int | _getopt_internal_r (int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only, struct _getopt_data *d, int posixly_correct) |
| int | _getopt_internal (int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only, int posixly_correct) |
Variables | |
| char * | optarg |
| int | optind = 1 |
| int | opterr = 1 |
| int | optopt = '?' |
| #define _ | ( | msgid | ) |
Referenced by _getopt_internal_r().
| #define _NO_PROTO |
| #define attribute_hidden |
| #define GETOPT_INTERFACE_VERSION 2 |
Referenced by _getopt_internal_r().
| #define SWAP_FLAGS | ( | ch1, | |
| ch2 ) |
| int _getopt_internal | ( | int | argc, |
| char *const * | argv, | ||
| const char * | optstring, | ||
| 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 * | optstring, | ||
| const struct option * | longopts, | ||
| int * | longind, | ||
| int | long_only, | ||
| struct _getopt_data * | d, | ||
| 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().
|
extern |
|
extern |
References _getopt_internal().
| char* optarg |
Referenced by _getopt_internal(), and main().
| int opterr = 1 |
Referenced by _getopt_internal().
| int optind = 1 |
Referenced by _getopt_internal(), and main().
| int optopt = '?' |
Referenced by _getopt_internal().