GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Functions
mi-getopt.h File Reference

Go to the source code of this file.

Classes

struct  mi_opt
 

Functions

int mi_getopt (const char *prefix, int argc, char **argv, const struct mi_opt *opt, int *optind, char **optarg)
 
int mi_getopt_allow_unknown (const char *prefix, int argc, char **argv, const struct mi_opt *opts, int *oind, char **oarg)
 
int mi_valid_noargs (const char *prefix, int argc, char **argv)
 

Function Documentation

◆ mi_getopt()

int mi_getopt ( const char *  prefix,
int  argc,
char **  argv,
const struct mi_opt opt,
int *  optind,
char **  optarg 
)

◆ mi_getopt_allow_unknown()

int mi_getopt_allow_unknown ( const char *  prefix,
int  argc,
char **  argv,
const struct mi_opt opts,
int *  oind,
char **  oarg 
)

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

References mi_getopt_1(), and prefix.

Referenced by mi_cmd_stack_list_args().

◆ mi_valid_noargs()

int mi_valid_noargs ( const char *  prefix,
int  argc,
char **  argv 
)

Definition at line 98 of file mi-getopt.c.

References mi_getopt(), and prefix.

Referenced by mi_cmd_file_list_exec_source_file(), and mi_cmd_inferior_tty_show().