Plan 9's rc.
not a clear win over byron's, but at least it has the right syntax.
This commit is contained in:
parent
5993a8f275
commit
f08fdedcee
24 changed files with 4688 additions and 0 deletions
58
src/cmd/rc/fns.h
Normal file
58
src/cmd/rc/fns.h
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
void Abort(void);
|
||||
void Closedir(int);
|
||||
int Creat(char*);
|
||||
int Dup(int, int);
|
||||
int Dup1(int);
|
||||
int Eintr(void);
|
||||
int Executable(char*);
|
||||
void Execute(word*, word*);
|
||||
void Exit(char*);
|
||||
int Globsize(char*);
|
||||
int Isatty(int);
|
||||
void Memcpy(char*, char*, long);
|
||||
void Noerror(void);
|
||||
int Opendir(char*);
|
||||
long Read(int, char*, long);
|
||||
int Readdir(int, char*);
|
||||
long Seek(int, long, long);
|
||||
void Trapinit(void);
|
||||
void Unlink(char*);
|
||||
void Updenv(void);
|
||||
void Vinit(void);
|
||||
int Waitfor(int, int);
|
||||
long Write(int, char*, long);
|
||||
int advance(void);
|
||||
int back(int);
|
||||
void cleanhere(char*);
|
||||
void codefree(code*);
|
||||
int compile(tree*);
|
||||
char * list2str(word*);
|
||||
int count(word*);
|
||||
void deglob(char*);
|
||||
void dotrap(void);
|
||||
void freenodes(void);
|
||||
void freewords(word*);
|
||||
void globlist(void);
|
||||
int idchr(int);
|
||||
void itoa(char*, long);
|
||||
void kinit(void);
|
||||
int match(char*, char*, int);
|
||||
int matchfn(char*, char*);
|
||||
void panic(char*, int);
|
||||
void poplist(void);
|
||||
void popword(void);
|
||||
void pprompt(void);
|
||||
void pushlist(void);
|
||||
void pushredir(int, int, int);
|
||||
void pushword(char*);
|
||||
void readhere(void);
|
||||
void setstatus(char*);
|
||||
void setvar(char*, word*);
|
||||
void skipnl(void);
|
||||
void start(code*, int, var*);
|
||||
int truestatus(void);
|
||||
void usage(char*);
|
||||
int wordchr(int);
|
||||
void yyerror(char*);
|
||||
int yylex(void);
|
||||
int yyparse(void);
|
||||
Loading…
Add table
Add a link
Reference in a new issue