Return to run.c CVS log | Up to [local] / src / usr.bin / awk |
version 1.25, 2004/12/30 01:52:48 | version 1.26, 2004/12/30 02:08:35 | ||
---|---|---|---|
|
|
||
void stdinit(void); | void stdinit(void); | ||
void flush_all(void); | void flush_all(void); | ||
/* buffer memory management */ | /* buffer memory management */ | ||
int adjbuf(char **pbuf, int *psiz, int minlen, int quantum, char **pbptr, | int adjbuf(char **pbuf, int *psiz, int minlen, int quantum, char **pbptr, | ||
const char *whatrtn) | const char *whatrtn) | ||
|
|
||
void run(Node *a) /* execution of parse tree starts here */ | void run(Node *a) /* execution of parse tree starts here */ | ||
{ | { | ||
extern void stdinit(void); | |||
stdinit(); | stdinit(); | ||
execute(a); | execute(a); | ||
closeall(); | closeall(); | ||
|
|
||
char *p, *buf; | char *p, *buf; | ||
Node *nextarg; | Node *nextarg; | ||
FILE *fp; | FILE *fp; | ||
void flush_all(void); | |||
t = ptoi(a[0]); | t = ptoi(a[0]); | ||
x = execute(a[1]); | x = execute(a[1]); |