COOPY » Guide  version 0.6.5
Data Structures | Defines | Functions | Variables
/home/paulfitz/cvs/coopy_scm/coopy/src/libcoopy_full/gnulib_getopt/getopt.h File Reference
#include <ctype.h>

Go to the source code of this file.

Data Structures

struct  option

Defines

#define _COOPY_GETOPT_H   1
#define __getopt_argv_const   const
#define __GNUC_PREREQ(maj, min)   (0)
#define __THROW
#define GNULIB_defined_struct_option   1
#define no_argument   0
#define required_argument   1
#define optional_argument   2

Functions

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

Variables

char * optarg
int optind
int opterr
int optopt

Define Documentation

#define __getopt_argv_const   const

Definition at line 83 of file getopt.h.

#define __GNUC_PREREQ (   maj,
  min 
)    (0)

Definition at line 100 of file getopt.h.

#define __THROW

Definition at line 105 of file getopt.h.

#define _COOPY_GETOPT_H   1

Definition at line 24 of file getopt.h.

#define GNULIB_defined_struct_option   1

Definition at line 179 of file getopt.h.

#define no_argument   0

Definition at line 184 of file getopt.h.

#define optional_argument   2

Definition at line 186 of file getopt.h.

#define required_argument   1

Definition at line 185 of file getopt.h.


Function Documentation

int getopt ( int  ___argc,
char *const *  ___argv,
const char *  __shortopts 
)

Definition at line 1156 of file getopt.c.

References gnulib_getopt_internal(), and POSIXLY_CORRECT.

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

Definition at line 57 of file getopt1.c.

References gnulib_getopt_internal().

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

Definition at line 35 of file getopt1.c.

References gnulib_getopt_internal().

Referenced by coopy::app::Options::apply().


Variable Documentation

char* optarg

Definition at line 64 of file getopt.c.

Referenced by coopy::app::Options::apply(), gnulib_getopt_internal(), and main().

int opterr

Definition at line 84 of file getopt.c.

Referenced by gnulib_getopt_internal().

int optind

Definition at line 79 of file getopt.c.

Referenced by coopy::app::Options::apply(), gnulib_getopt_internal(), and main().

int optopt

Definition at line 90 of file getopt.c.

Referenced by gnulib_getopt_internal().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines