GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
getopt-wrapper.h File Reference

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

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)
 

Macro Definition Documentation

◆ octave_no_arg

#define octave_no_arg   0

Definition at line 41 of file getopt-wrapper.h.

◆ octave_optional_arg

#define octave_optional_arg   2

Definition at line 43 of file getopt-wrapper.h.

◆ octave_required_arg

#define octave_required_arg   1

Definition at line 42 of file getopt-wrapper.h.

Function Documentation

◆ octave_get_opterr_wrapper()

int octave_get_opterr_wrapper ( void  )

Definition at line 126 of file getopt-wrapper.c.

◆ octave_getopt_long_wrapper()

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.

Referenced by cmdline_options::cmdline_options().

◆ octave_optarg_wrapper()

char* octave_optarg_wrapper ( void  )

Definition at line 114 of file getopt-wrapper.c.

◆ octave_optind_wrapper()

int octave_optind_wrapper ( void  )

Definition at line 120 of file getopt-wrapper.c.

◆ octave_set_opterr_wrapper()

int octave_set_opterr_wrapper ( int  val)

Definition at line 132 of file getopt-wrapper.c.