LAL  7.5.0.1-b72065a
LALgetopt.h File Reference

Prototypes

int LALgetopt (int argc, char *const *argv, const char *shortopts)
 
int LALgetopt_long (int argc, char *const *argv, const char *shortopts, const struct LALoption *longopts, int *longind)
 
int LALgetopt_long_only (int argc, char *const *argv, const char *shortopts, const struct LALoption *longopts, int *longind)
 

Go to the source code of this file.

Data Structures

struct  LALoption
 

Macros

#define no_argument   0
 
#define required_argument   1
 
#define optional_argument   2
 

Variables

char * LALoptarg
 
int LALoptind
 
int LALopterr
 
int LALoptopt
 

Macro Definition Documentation

◆ no_argument

#define no_argument   0

Definition at line 100 of file LALgetopt.h.

◆ required_argument

#define required_argument   1

Definition at line 101 of file LALgetopt.h.

◆ optional_argument

#define optional_argument   2

Definition at line 102 of file LALgetopt.h.

Function Documentation

◆ LALgetopt()

int LALgetopt ( int  argc,
char *const *  argv,
const char *  shortopts 
)

Definition at line 172 of file LALgetopt.c.

◆ LALgetopt_long()

int LALgetopt_long ( int  argc,
char *const *  argv,
const char *  shortopts,
const struct LALoption longopts,
int *  longind 
)

Definition at line 178 of file LALgetopt.c.

◆ LALgetopt_long_only()

int LALgetopt_long_only ( int  argc,
char *const *  argv,
const char *  shortopts,
const struct LALoption longopts,
int *  longind 
)

Definition at line 190 of file LALgetopt.c.

Variable Documentation

◆ LALoptarg

char* LALoptarg
extern

Definition at line 64 of file LALgetopt.c.

◆ LALoptind

int LALoptind
extern

Definition at line 79 of file LALgetopt.c.

◆ LALopterr

int LALopterr
extern

Definition at line 99 of file LALgetopt.c.

◆ LALoptopt

int LALoptopt
extern

Definition at line 105 of file LALgetopt.c.