]> git.lizzy.rs Git - plan9front.git/blob - sys/src/cmd/rc/fns.h
audiohda: fix syntax error
[plan9front.git] / sys / src / cmd / rc / fns.h
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     ForkExecute(char*, char**, int, int, int);
11 int     Globsize(char*);
12 int     Isatty(int);
13 void    Noerror(void);
14 int     Opendir(char*);
15 long    Read(int, void*, long);
16 int     Readdir(int, void*, int);
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, void*, long);
24 void    addwaitpid(int);
25 int     advance(void);
26 int     back(int);
27 void    cleanhere(char*);
28 void    codefree(code*);
29 int     compile(tree*);
30 char *  list2str(word*);
31 int     count(word*);
32 char*   deglob(char*);
33 void    delwaitpid(int);
34 void    dotrap(void);
35 void    freenodes(void);
36 void    freewords(word*);
37 word*   globlist(word*);
38 int     havewaitpid(int);
39 int     idchr(int);
40 void    inttoascii(char*, long);
41 void    kinit(void);
42 int     mapfd(int);
43 int     match(char*, char*, int);
44 char**  mkargv(word*);
45 void    clearwaitpids(void);
46 void    panic(char*, int);
47 void    pathinit(void);
48 void    poplist(void);
49 void    popword(void);
50 void    pprompt(void);
51 void    pushlist(void);
52 void    pushredir(int, int, int);
53 word*   pushword(char*);
54 void    readhere(void);
55 word*   searchpath(char*, char*);
56 void    setstatus(char*);
57 void    setvar(char*, word*);
58 void    shuffleredir(void);
59 void    skipnl(void);
60 void    start(code*, int, var*);
61 int     truestatus(void);
62 void    usage(char*);
63 int     wordchr(int);
64 void    yyerror(char*);
65 int     yylex(void);
66 int     yyparse(void);