Main Page | Class List | Directories | File List | Class Members | File Members

getopt.h File Reference

#include <ctype.h>

Go to the source code of this file.

Classes

struct  option

Defines

#define _GETOPT_H   1
#define no_argument   0
#define required_argument   1
#define optional_argument   2

Functions

int getopt ()
int getopt_long ()
int getopt_long_only ()
int _getopt_internal ()

Variables

char * optarg
int optind
int opterr
int optopt


Define Documentation

#define _GETOPT_H   1
 

Definition at line 23 of file getopt.h.

#define no_argument   0
 

Definition at line 110 of file getopt.h.

Referenced by P().

#define optional_argument   2
 

Definition at line 112 of file getopt.h.

Referenced by P().

#define required_argument   1
 

Definition at line 111 of file getopt.h.

Referenced by P().


Function Documentation

int _getopt_internal  ) 
 

int getopt  ) 
 

int getopt_long  ) 
 

Referenced by main().

int getopt_long_only  ) 
 


Variable Documentation

char* optarg
 

Definition at line 120 of file getopt.c.

Referenced by _getopt_internal(), and main().

int opterr
 

Definition at line 155 of file getopt.c.

Referenced by _getopt_internal(), and main().

int optind
 

Definition at line 135 of file getopt.c.

Referenced by _getopt_initialize(), _getopt_internal(), exchange(), and main().

int optopt
 

Definition at line 161 of file getopt.c.

Referenced by _getopt_internal(), and main().


© sourcejam.com 2005-2008