xref: /plan9-contrib/sys/src/cmd/rc/fns.h (revision 219b2ee8daee37f4aad58d63f21287faa8e4ffdc)
1 void	Abort(void);
2 void	Closedir(int);
3 int	Creat(char*);
4 int	Dup(int, int);
5 int	Dup1(int);
6 int	Eintr(void);
7 int	Executable(char*);
8 void	Execute(word*,  word*);
9 void	Exit(char*);
10 int	Globsize(char*);
11 int	Isatty(int);
12 void	Memcpy(char*, char*, long);
13 void	Noerror(void);
14 int	Opendir(char*);
15 long	Read(int, char*, long);
16 int	Readdir(int, char*);
17 long	Seek(int, long, long);
18 void	Trapinit(void);
19 void	Unlink(char*);
20 void	Updenv(void);
21 void	Vinit(void);
22 int	Waitfor(int, int);
23 long	Write(int, char*, long);
24 int	advance(void);
25 int	back(int);
26 void	cleanhere(char*);
27 void	codefree(code*);
28 int	compile(tree*);
29 char *	list2str(word*);
30 int	count(word*);
31 void	deglob(char*);
32 void	dotrap(void);
33 void	freenodes(void);
34 void	freewords(word*);
35 void	globlist(void);
36 int	idchr(int);
37 void	itoa(char*, long);
38 void	kinit(void);
39 int	match(char*, char*, int);
40 int	matchfn(char*, char*);
41 void	panic(char*, int);
42 void	poplist(void);
43 void	popword(void);
44 void	pprompt(void);
45 void	pushlist(void);
46 void	pushredir(int, int, int);
47 void	pushword(char*);
48 void	readhere(void);
49 void	setstatus(char*);
50 void	setvar(char*, word*);
51 void	skipnl(void);
52 void	start(code*, int, var*);
53 int	truestatus(void);
54 void	usage(char*);
55 int	wordchr(int);
56 void	yyerror(char*);
57 int	yylex(void);
58 int	yyparse(void);
59 char *	Geterrstr(void);
60