shell.h File Reference

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

Go to the source code of this file.

Classes

Defines

Typedefs

Functions

Variables


Define Documentation

#define FALSE   0
 

Definition at line 12 of file shell.h.

#define highbyte  )     lowbyte((w) >>8)
 

Definition at line 14 of file shell.h.

Referenced by statusprt().

#define lowbyte  )     ((w) & 0377)
 

Definition at line 13 of file shell.h.

Referenced by statusprt().

#define MAXVAR   50
 

Definition at line 18 of file shell.h.

Referenced by EVprint(), EVupdate(), and find().

#define TRUE   1
 

Definition at line 11 of file shell.h.


Typedef Documentation

typedef short BOOLEAN
 

Definition at line 16 of file shell.h.

Referenced by assign(), command(), EVexport(), EVinit(), EVset(), EVupdate(), ignoresig(), and invoke().


Function Documentation

void asg int  argc,
char *  argv[]
 

Definition at line 176 of file shell.h.

BOOLEAN assign char **  p,
char *  s
[static]
 

Definition at line 30 of file shell.h.

Referenced by EVexport(), and EVset().

void catchsigs  ) 
 

Definition at line 286 of file shell.h.

void entrysig  ) 
 

Definition at line 279 of file shell.h.

Referenced by invoke().

BOOLEAN EVexport char *  name  ) 
 

Definition at line 46 of file shell.h.

Referenced by EVinit(), and export().

char* EVget char *  name  ) 
 

Definition at line 105 of file shell.h.

Referenced by main().

BOOLEAN EVinit  ) 
 

Definition at line 89 of file shell.h.

Referenced by main().

void EVprint  ) 
 

Definition at line 166 of file shell.h.

Referenced by set().

BOOLEAN EVset char *  name,
char *  val
 

Definition at line 79 of file shell.h.

Referenced by asg(), and EVinit().

BOOLEAN EVupdate  ) 
 

Definition at line 134 of file shell.h.

Referenced by invoke().

void export int  argc,
char *  argv[]
 

Definition at line 200 of file shell.h.

void fatal char *  msg  ) 
 

Definition at line 114 of file shell.h.

Referenced by invoke(), and main().

struct varslot* find char *  name  )  [static]
 

Definition at line 61 of file shell.h.

Referenced by EVexport(), EVget(), and EVset().

TOKEN gettoken char *  word  )  [static]
 

Definition at line 332 of file shell.h.

Referenced by command().

void ignoresig  ) 
 

Definition at line 262 of file shell.h.

Referenced by main().

char* malloc  ) 
 

Referenced by assign(), command(), create_timer(), EVupdate(), levantar_fat(), main(), open(), sys_read_debug(), sys_show(), and umalloc_page().

char* * realloc  ) 
 

Referenced by assign(), and EVupdate().

void set int  argc,
char *  argv[]
 

Definition at line 191 of file shell.h.

Referenced by export(), sigprocmask(), and sys_sigprocmask().

void setsig sig  ,
fcn 
[static]
 

Referenced by catchsigs().

void statusprt int  pid,
int  status
 

Definition at line 216 of file shell.h.

void syserr char *  msg  ) 
 

Definition at line 120 of file shell.h.

Referenced by command(), entrysig(), ignoresig(), and invoke().


Variable Documentation

void(* entryint)() [static]
 

Referenced by entrysig(), and ignoresig().

void(*)(*) entryquit()
 

Definition at line 260 of file shell.h.

Referenced by entrysig(), and ignoresig().

char** environ
 

Definition at line 26 of file shell.h.

Referenced by EVinit(), and EVupdate().

void(* fcn)()
 

Definition at line 299 of file shell.h.

struct varslot sym[MAXVAR] [static]
 

Referenced by EVprint(), EVupdate(), and find().


Generated on Sun May 30 18:38:36 2004 for Routix OS by doxygen 1.3.6