Back to index

tetex-bin  3.0
Classes | Defines | Functions | Variables
getopt_.h File Reference
#include <ctype.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  option

Defines

#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

Class Documentation

struct option

Definition at line 420 of file gsftopk.c.

Class Members
void * addr
int * flag
int has_arg
Boolean has_arg
const char * longname
char * name
const char * name
short shortname
int val
int value

Define Documentation

#define __GNUC_PREREQ (   maj,
  min 
)    (0)

Definition at line 39 of file getopt_.h.

#define __THROW

Definition at line 44 of file getopt_.h.

#define _GETOPT_H   1

Definition at line 23 of file getopt_.h.

#define no_argument   0

Definition at line 117 of file getopt_.h.

#define optional_argument   2

Definition at line 119 of file getopt_.h.

#define required_argument   1

Definition at line 118 of file getopt_.h.


Function Documentation

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

Definition at line 68 of file getopt1.c.

{
  return _getopt_internal (argc, argv, options, long_options, opt_index, 0);
}

Here is the call graph for this function:

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

Definition at line 84 of file getopt1.c.

{
  return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
}

Here is the call graph for this function:


Variable Documentation

char* optarg

Definition at line 125 of file getopt.c.

Definition at line 160 of file getopt.c.

Definition at line 140 of file getopt.c.

Definition at line 166 of file getopt.c.