src/commands/ash/options.h File Reference

Go to the source code of this file.

Classes

struct  shparam
struct  optent

Defines

#define eflag   optlist[0].val
#define fflag   optlist[1].val
#define Iflag   optlist[2].val
#define iflag   optlist[3].val
#define mflag   optlist[4].val
#define nflag   optlist[5].val
#define sflag   optlist[6].val
#define xflag   optlist[7].val
#define vflag   optlist[8].val
#define Vflag   optlist[9].val
#define Eflag   optlist[10].val
#define Cflag   optlist[11].val
#define aflag   optlist[12].val
#define bflag   optlist[13].val
#define uflag   optlist[14].val
#define privileged   optlist[15].val
#define Tflag   optlist[16].val
#define Pflag   optlist[17].val
#define NOPTS   18

Functions

void procargs (int, char **)
void optschanged (void)
void setparam (char **)
void freeparam (struct shparam *)
int shiftcmd (int, char **)
int setcmd (int, char **)
int getoptscmd (int, char **)
int nextopt (char *)
void getoptsreset (const char *)

Variables

struct optent optlist [NOPTS]
char * minusc
char * arg0
struct shparam shellparam
char ** argptr
char * shoptarg
char * optptr
int editable


Define Documentation

#define aflag   optlist[12].val

Definition at line 59 of file options.h.

#define bflag   optlist[13].val

Definition at line 60 of file options.h.

#define Cflag   optlist[11].val

Definition at line 58 of file options.h.

#define Eflag   optlist[10].val

Definition at line 57 of file options.h.

#define eflag   optlist[0].val

Definition at line 47 of file options.h.

#define fflag   optlist[1].val

Definition at line 48 of file options.h.

#define iflag   optlist[3].val

Definition at line 50 of file options.h.

#define Iflag   optlist[2].val

Definition at line 49 of file options.h.

#define mflag   optlist[4].val

Definition at line 51 of file options.h.

int nflag   optlist[5].val

Definition at line 52 of file options.h.

#define NOPTS   18

Definition at line 66 of file options.h.

#define Pflag   optlist[17].val

Definition at line 64 of file options.h.

#define privileged   optlist[15].val

Definition at line 62 of file options.h.

#define sflag   optlist[6].val

Definition at line 53 of file options.h.

#define Tflag   optlist[16].val

Definition at line 63 of file options.h.

#define uflag   optlist[14].val

Definition at line 61 of file options.h.

#define Vflag   optlist[9].val

Definition at line 56 of file options.h.

#define vflag   optlist[8].val

Definition at line 55 of file options.h.

#define xflag   optlist[7].val

Definition at line 54 of file options.h.


Function Documentation

void freeparam ( struct shparam  ) 

Definition at line 307 of file options.c.

int getoptscmd ( int  ,
char **   
)

Definition at line 387 of file options.c.

void getoptsreset ( const char *   ) 

Definition at line 371 of file options.c.

int nextopt ( char *   ) 

Definition at line 514 of file options.c.

void optschanged ( void   ) 

Definition at line 129 of file options.c.

void procargs ( int  ,
char **   
)

Definition at line 87 of file options.c.

int setcmd ( int  ,
char **   
)

Definition at line 355 of file options.c.

void setparam ( char **   ) 

Definition at line 282 of file options.c.

int shiftcmd ( int  ,
char **   
)

Definition at line 325 of file options.c.


Variable Documentation

char* arg0

Definition at line 66 of file options.c.

char** argptr

Definition at line 68 of file options.c.

int editable

Definition at line 71 of file options.c.

char* minusc

Definition at line 73 of file options.c.

struct optent optlist[NOPTS]

char* optptr

Definition at line 70 of file options.c.

Definition at line 67 of file options.c.

char* shoptarg

Definition at line 69 of file options.c.


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