#include <ctype.h>Include dependency graph for gnu_getopt.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| struct | option |
Defines | |
| #define | GNU_GETOPT_INTERFACE_VERSION 2 |
| #define | no_argument 0 |
| #define | required_argument 1 |
| #define | optional_argument 2 |
Functions | |
| int | gnu_getopt_internal_ (int, char *const *, const char *, const struct option *, int *, int) |
| int | gnu_getopt (int argc_, char *const *argv_, const char *shortopts_) |
| int | gnu_getopt_long (int argc_, char *const *argv_, const char *shortopts_, const struct option *longopts_, int *optind_) |
| int | gnu_getopt_long_only (int argc_, char *const *argv_, const char *shortopts_, const struct option *longopts_, int *optind_) |
Variables | |
| char * | optarg |
| int | optind |
| int | opterr |
| int | optopt |
| #define GNU_GETOPT_INTERFACE_VERSION 2 |
Definition at line 30 of file gnu_getopt.h.
| #define no_argument 0 |
Definition at line 73 of file gnu_getopt.h.
Referenced by main(), and test_driver::parse_command_line().
| #define required_argument 1 |
| #define optional_argument 2 |
Definition at line 75 of file gnu_getopt.h.
| int gnu_getopt_internal_ | ( | int | , | |
| char *const * | , | |||
| const char * | , | |||
| const struct option * | , | |||
| int * | , | |||
| int | ||||
| ) |
Definition at line 343 of file getopt.cc.
References __getopt_initialized, _getopt_initialize(), exchange(), first_nonopt, if(), last_nonopt, option::name, nextchar, NONOPTION_P, optarg, opterr, optind, ordering, PERMUTE, and REQUIRE_ORDER.
Referenced by gnu_getopt(), gnu_getopt_long(), and gnu_getopt_long_only().
| int gnu_getopt | ( | int | argc_, | |
| char *const * | argv_, | |||
| const char * | shortopts_ | |||
| ) | [inline] |
Definition at line 83 of file gnu_getopt.h.
References gnu_getopt_internal_().
Referenced by main().
| int gnu_getopt_long | ( | int | argc_, | |
| char *const * | argv_, | |||
| const char * | shortopts_, | |||
| const struct option * | longopts_, | |||
| int * | optind_ | |||
| ) | [inline] |
Definition at line 90 of file gnu_getopt.h.
References gnu_getopt_internal_().
Referenced by main(), and test_driver::parse_command_line().
| int gnu_getopt_long_only | ( | int | argc_, | |
| char *const * | argv_, | |||
| const char * | shortopts_, | |||
| const struct option * | longopts_, | |||
| int * | optind_ | |||
| ) | [inline] |
| char* optarg |
Definition at line 84 of file getopt.cc.
Referenced by gnu_getopt_internal_(), main(), and test_driver::parse_command_line().
| int optind |
Definition at line 99 of file getopt.cc.
Referenced by _getopt_initialize(), exchange(), gnu_getopt_internal_(), main(), and test_driver::parse_command_line().
| int opterr |