Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

gnu_getopt.h File Reference

Go to the source code of this file.

Compounds

struct  option

Defines

#define _GNU_GETOPT_H   1
#define getopt   gnu_getopt
#define optind   gnu_optind
#define opterr   gnu_opterr
#define optopt   gnu_optopt
#define optarg   gnu_optarg
#define getopt_long   gnu_getopt_long
#define getopt_long_only   gnu_getopt_long_only
#define no_argument   0
#define required_argument   1
#define optional_argument   2

Functions

EXPCL_DTOOL int getopt (int argc, char *const *argv, const char *shortopts)
EXPCL_DTOOL int getopt_long (int argc, char *const *argv, const char *shortopts, const struct option *long_options, int *opt_index)
EXPCL_DTOOL int getopt_long_only (int argc, char *const *argv, const char *shortopts, const struct option *long_options, int *opt_index)
int _getopt_internal (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *longind, int long_only)

Variables

char EXPCL_DTOOLoptarg
int EXPCL_DTOOL optind
int opterr
int optopt


Define Documentation

#define _GNU_GETOPT_H   1
 

Definition at line 15 of file gnu_getopt.h.

#define getopt   gnu_getopt
 

Definition at line 20 of file gnu_getopt.h.

Referenced by main().

#define getopt_long   gnu_getopt_long
 

Definition at line 25 of file gnu_getopt.h.

#define getopt_long_only   gnu_getopt_long_only
 

Definition at line 26 of file gnu_getopt.h.

Referenced by main().

#define no_argument   0
 

Definition at line 100 of file gnu_getopt.h.

#define optarg   gnu_optarg
 

Definition at line 24 of file gnu_getopt.h.

Referenced by main().

#define opterr   gnu_opterr
 

Definition at line 22 of file gnu_getopt.h.

#define optind   gnu_optind
 

Definition at line 21 of file gnu_getopt.h.

Referenced by main().

#define optional_argument   2
 

Definition at line 102 of file gnu_getopt.h.

#define optopt   gnu_optopt
 

Definition at line 23 of file gnu_getopt.h.

#define required_argument   1
 

Definition at line 101 of file gnu_getopt.h.


Function Documentation

int _getopt_internal int  argc,
char *const *  argv,
const char *  shortopts,
const struct option longopts,
int longind,
int  long_only
 

EXPCL_DTOOL int getopt int  argc,
char *const *  argv,
const char *  shortopts
 

EXPCL_DTOOL int getopt_long int  argc,
char *const *  argv,
const char *  shortopts,
const struct option long_options,
int opt_index
 

EXPCL_DTOOL int getopt_long_only int  argc,
char *const *  argv,
const char *  shortopts,
const struct option long_options,
int opt_index
 


Variable Documentation

char EXPCL_DTOOL* optarg
 

Definition at line 38 of file gnu_getopt.h.

int opterr
 

Definition at line 57 of file gnu_getopt.h.

int EXPCL_DTOOL optind
 

Definition at line 52 of file gnu_getopt.h.

int optopt
 

Definition at line 61 of file gnu_getopt.h.


Generated on Fri Apr 18 01:34:09 2003 for DTool by doxygen1.3