Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

getopt.c File Reference

#include <stdio.h>
#include "getopt.h"

Go to the source code of this file.

Defines

#define _(msgid)   (msgid)

Enumerations

enum  { REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER }

Functions

char * getenv ()
int strncmp (const char *, const char *, size_t)
char * my_index (str, chr) const char *str
void exchange (argv) char **argv

Variables

char * optarg = NULL
int optind = 0
char * nextchar
int opterr = 1
int optopt = '?'
enum { ... }  ordering
char * posixly_correct
int chr
int last_nonopt
char *const * argv
const char * optstring
const struct option * longopts
int * longind
int long_only


Define Documentation

#define _ msgid       (msgid)
 

Definition at line 70 of file getopt.c.


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
REQUIRE_ORDER 
PERMUTE 
RETURN_IN_ORDER 

Definition at line 159 of file getopt.c.

00159             {
00160         REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER
00161 } ordering;


Function Documentation

void exchange argv    [static]
 

char* getenv  
 

char* my_index str   ,
chr   
const [static]
 

int strncmp const char *   ,
const char *   ,
size_t   
 


Variable Documentation

char *const * argv
 

Definition at line 76 of file getopt1.c.

int chr
 

Definition at line 183 of file getopt.c.

int last_nonopt [static]
 

Definition at line 216 of file getopt.c.

int long_only
 

Definition at line 369 of file getopt.c.

int* longind
 

Definition at line 368 of file getopt.c.

const struct option* longopts
 

Definition at line 367 of file getopt.c.

char* nextchar [static]
 

Definition at line 119 of file getopt.c.

char* optarg = NULL
 

Definition at line 95 of file getopt.c.

int opterr = 1
 

Definition at line 124 of file getopt.c.

int optind = 0
 

Definition at line 110 of file getopt.c.

int optopt = '?'
 

Definition at line 130 of file getopt.c.

const char * optstring
 

Definition at line 674 of file getopt.c.

enum { ... } ordering [static]
 

char* posixly_correct [static]
 

Definition at line 164 of file getopt.c.


Generated on Tue Apr 9 13:53:08 2002 for RWIL - Real World Interface Library by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001