GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
getopt-wrapper.c File Reference
#include <stdlib.h>
#include <getopt.h>
#include "getopt-wrapper.h"
Include dependency graph for getopt-wrapper.c:

Go to the source code of this file.


static struct optionmake_option_struct (const struct octave_getopt_options *opts)
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)

Function Documentation

static struct option* make_option_struct ( const struct octave_getopt_options opts)
int octave_getopt_long_wrapper ( int  argc,
char **  argv,
const char *  shortopts,
const struct octave_getopt_options longopts,
int longind 

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

References free(), make_option_struct(), option, and retval.

char* octave_optarg_wrapper ( void  )

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

int octave_optind_wrapper ( void  )

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