Go to the source code of this file.
Classes | |
struct | octave_getopt_options |
Macros | |
#define | octave_no_arg 0 |
#define | octave_optional_arg 2 |
#define | octave_required_arg 1 |
Functions | |
OCTAVE_API int | octave_get_opterr_wrapper (void) |
OCTAVE_API int | octave_getopt_long_wrapper (int argc, char **argv, const char *shortopts, const struct octave_getopt_options *longopts, int *longind) |
OCTAVE_API char * | octave_optarg_wrapper (void) |
OCTAVE_API int | octave_optind_wrapper (void) |
OCTAVE_API int | octave_set_opterr_wrapper (int val) |
#define octave_no_arg 0 |
Definition at line 41 of file getopt-wrapper.h.
#define octave_optional_arg 2 |
Definition at line 43 of file getopt-wrapper.h.
#define octave_required_arg 1 |
Definition at line 42 of file getopt-wrapper.h.
OCTAVE_API int octave_get_opterr_wrapper | ( | void | ) |
Definition at line 126 of file getopt-wrapper.c.
OCTAVE_API int octave_getopt_long_wrapper | ( | int | argc, |
char ** | argv, | ||
const char * | shortopts, | ||
const struct octave_getopt_options * | longopts, | ||
int * | longind | ||
) |
Definition at line 99 of file getopt-wrapper.c.
References free(), and make_option_struct().
Referenced by cmdline_options::cmdline_options(), and main().
OCTAVE_API char* octave_optarg_wrapper | ( | void | ) |
Definition at line 114 of file getopt-wrapper.c.
Referenced by cmdline_options::cmdline_options().
OCTAVE_API int octave_optind_wrapper | ( | void | ) |
Definition at line 120 of file getopt-wrapper.c.
Referenced by cmdline_options::cmdline_options(), and main().
OCTAVE_API int octave_set_opterr_wrapper | ( | int | val | ) |
Definition at line 132 of file getopt-wrapper.c.
Referenced by main().