libcdio-paranoia 10.2+2.0.2
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

◆ __GNUC_PREREQ

#define __GNUC_PREREQ (   maj,
  min 
)    (0)

◆ __THROW

#define __THROW

◆ _GETOPT_H

#define _GETOPT_H   1

◆ no_argument

#define no_argument   0

◆ optional_argument

#define optional_argument   2

◆ required_argument

#define required_argument   1

Function Documentation

◆ getopt()

int getopt ( )

◆ getopt_long()

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

◆ getopt_long_only()

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

Variable Documentation

◆ optarg

char* optarg
extern

◆ opterr

int opterr
extern

◆ optind

int optind
extern

◆ optopt

int optopt
extern