src/commands/sh/sh5.c File Reference

#include <sys/types.h>
#include <signal.h>
#include <errno.h>
#include <setjmp.h>
#include "sh.h"

Go to the source code of this file.

Classes

struct  here

Defines

#define Extern   extern

Functions

 _PROTOTYPE (static void readhere,(char **name, char *s, int ec))
 _PROTOTYPE (void pushio,(struct ioarg *argp, int(*fn)()))
 _PROTOTYPE (static int xxchar,(struct ioarg *ap))
 _PROTOTYPE (void tempname,(char *tname))
int getc (int ec)
void unget (int c)
int eofc ()
int readc ()
void ioecho (char c)
void pushio (struct ioarg *argp, int(*fn)())
struct iosetbase (struct io *ip)
int nlchar (struct ioarg *ap)
int wdchar (struct ioarg *ap)
int dolchar (struct ioarg *ap)
int strchar (struct ioarg *ap)
int qstrchar (struct ioarg *ap)
int filechar (struct ioarg *ap)
int herechar (struct ioarg *ap)
int gravechar (struct ioarg *ap, struct io *iop)
int qgravechar (struct ioarg *ap, struct io *iop)
int linechar (struct ioarg *ap)
void prs (char *s)
void putc (char c)
void prn (unsigned u)
void closef (int i)
void closeall ()
int remap (int fd)
int openpipe (int *pv)
void closepipe (int *pv)
void inithere ()
void markhere (char *s, struct ioword *iop)
void gethere ()
int herein (char *hname, int xdoll)
void scraphere ()
void freehere (int area)
void tempname (char *tname)

Variables

struct ioarg temparg = {0, 0, 0, AFID_NOBUF, 0}


Define Documentation

#define Extern   extern

Definition at line 1 of file sh5.c.


Function Documentation

_PROTOTYPE ( void  tempname,
(char *tname)   
)

_PROTOTYPE ( static int  xxchar,
(struct ioarg *ap)   
)

_PROTOTYPE ( void  pushio,
(struct ioarg *argp, int(*fn)())   
)

_PROTOTYPE ( static void  readhere,
(char **name, char *s, int ec)   
)

void closeall (  ) 

Definition at line 416 of file sh5.c.

void closef ( int  i  ) 

Definition at line 408 of file sh5.c.

void closepipe ( int *  pv  ) 

Definition at line 462 of file sh5.c.

int dolchar ( struct ioarg ap  ) 

Definition at line 216 of file sh5.c.

int eofc (  ) 

Definition at line 60 of file sh5.c.

int filechar ( struct ioarg ap  ) 

Definition at line 275 of file sh5.c.

void freehere ( int  area  ) 

Definition at line 651 of file sh5.c.

int getc ( int  ec  ) 

Definition at line 27 of file sh5.c.

void gethere (  ) 

Definition at line 528 of file sh5.c.

int gravechar ( struct ioarg ap,
struct io iop 
)

Definition at line 329 of file sh5.c.

int herechar ( struct ioarg ap  ) 

Definition at line 310 of file sh5.c.

int herein ( char *  hname,
int  xdoll 
)

Definition at line 597 of file sh5.c.

void inithere (  ) 

Definition at line 489 of file sh5.c.

void ioecho ( char  c  ) 

Definition at line 108 of file sh5.c.

int linechar ( struct ioarg ap  ) 

Definition at line 371 of file sh5.c.

void markhere ( char *  s,
struct ioword iop 
)

Definition at line 495 of file sh5.c.

int nlchar ( struct ioarg ap  ) 

Definition at line 174 of file sh5.c.

int openpipe ( int *  pv  ) 

Definition at line 451 of file sh5.c.

void prn ( unsigned  u  ) 

Definition at line 401 of file sh5.c.

void prs ( char *  s  ) 

Definition at line 386 of file sh5.c.

void pushio ( struct ioarg argp,
int (*)()  fn 
)

Definition at line 116 of file sh5.c.

void putc ( char  c  ) 

Definition at line 394 of file sh5.c.

int qgravechar ( struct ioarg ap,
struct io iop 
)

Definition at line 341 of file sh5.c.

int qstrchar ( struct ioarg ap  ) 

Definition at line 261 of file sh5.c.

int readc (  ) 

Definition at line 67 of file sh5.c.

int remap ( int  fd  ) 

Definition at line 428 of file sh5.c.

void scraphere (  ) 

Definition at line 638 of file sh5.c.

struct io* setbase ( struct io ip  )  [read]

Definition at line 156 of file sh5.c.

int strchar ( struct ioarg ap  ) 

Definition at line 247 of file sh5.c.

void tempname ( char *  tname  ) 

Definition at line 670 of file sh5.c.

void unget ( int  c  ) 

Definition at line 52 of file sh5.c.

int wdchar ( struct ioarg ap  ) 

Definition at line 193 of file sh5.c.


Variable Documentation

struct ioarg temparg = {0, 0, 0, AFID_NOBUF, 0}

Definition at line 19 of file sh5.c.


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