GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
getopt-wrapper.h File Reference
This graph shows which files directly or indirectly include this file:

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)
 

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()

OCTAVE_API int octave_get_opterr_wrapper ( void  )

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

◆ octave_getopt_long_wrapper()

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_optarg_wrapper()

OCTAVE_API char* octave_optarg_wrapper ( void  )

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

Referenced by cmdline_options::cmdline_options().

◆ octave_optind_wrapper()

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_set_opterr_wrapper()

OCTAVE_API int octave_set_opterr_wrapper ( int  val)

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

Referenced by main().