src/lib/posix/getopt.c File Reference

#include <string.h>
#include <stdio.h>

Go to the source code of this file.

Defines

#define BADCH   (int)'?'
#define BADARG   (int)':'
#define EMSG   ""

Functions

int getopt (int nargc, char *const nargv[], const char *ostr)

Variables

int opterr = 1
int optind = 1
int optopt
int optreset
char * optarg


Define Documentation

#define BADARG   (int)':'

Definition at line 44 of file getopt.c.

#define BADCH   (int)'?'

Definition at line 43 of file getopt.c.

#define EMSG   ""

Definition at line 45 of file getopt.c.


Function Documentation

int getopt ( int  nargc,
char *const   nargv[],
const char *  ostr 
)

Definition at line 52 of file getopt.c.


Variable Documentation

char* optarg

Definition at line 41 of file getopt.c.

int opterr = 1

Definition at line 37 of file getopt.c.

int optind = 1

Definition at line 38 of file getopt.c.

int optopt

Definition at line 38 of file getopt.c.

int optreset

Definition at line 38 of file getopt.c.


Generated on Tue Mar 9 04:36:24 2010 for Minix by  doxygen 1.5.8