libcdio-paranoia  10.2+0.94+2git
Data Structures | Macros | Functions | Variables
getopt.h File Reference
#include <ctype.h>

Go to the source code of this file.

Data Structures

struct  option
 

Macros

#define _GETOPT_H   1
 
#define __GNUC_PREREQ(maj, min)   (0)
 
#define __THROW
 
#define no_argument   0
 
#define required_argument   1
 
#define optional_argument   2
 

Functions

int getopt ()
 
int getopt_long (int ___argc, char *const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind) __THROW
 
int getopt_long_only (int ___argc, char *const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind) __THROW
 

Variables

char * optarg
 
int optind
 
int opterr
 
int optopt
 

Macro Definition Documentation

#define __GNUC_PREREQ (   maj,
  min 
)    (0)
#define __THROW
#define _GETOPT_H   1
#define no_argument   0
#define optional_argument   2
#define required_argument   1

Function Documentation

int getopt ( )
int getopt_long ( int  ___argc,
char *const *  ___argv,
const char *  __shortopts,
const struct option __longopts,
int *  __longind 
)

References _getopt_internal().

Referenced by _getopt_long_only_r(), and main().

int getopt_long_only ( int  ___argc,
char *const *  ___argv,
const char *  __shortopts,
const struct option __longopts,
int *  __longind 
)

References _getopt_internal().

Variable Documentation

char* optarg
int opterr

Referenced by _getopt_internal().

int optind
int optopt

Referenced by _getopt_internal().