Go to the source code of this file.
Functions | |
static struct option * | make_option_struct (const struct octave_getopt_options *opts) |
int | octave_get_opterr_wrapper (void) |
int | octave_getopt_long_wrapper (int argc, char **argv, const char *shortopts, const struct octave_getopt_options *longopts, int *longind) |
char * | octave_optarg_wrapper (void) |
int | octave_optind_wrapper (void) |
int | octave_set_opterr_wrapper (int val) |
|
static |
Definition at line 42 of file getopt-wrapper.c.
References octave_getopt_options::flag, octave_getopt_options::has_arg, malloc(), n, octave_getopt_options::name, octave_optional_arg, octave_required_arg, and octave_getopt_options::val.
Referenced by octave_getopt_long_wrapper().
int octave_get_opterr_wrapper | ( | void | ) |
Definition at line 126 of file getopt-wrapper.c.
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().
char* octave_optarg_wrapper | ( | void | ) |
Definition at line 114 of file getopt-wrapper.c.
Referenced by cmdline_options::cmdline_options().
int octave_optind_wrapper | ( | void | ) |
Definition at line 120 of file getopt-wrapper.c.
Referenced by cmdline_options::cmdline_options(), and main().
int octave_set_opterr_wrapper | ( | int | val | ) |
Definition at line 132 of file getopt-wrapper.c.
Referenced by main().