]> git.lizzy.rs Git - plan9front.git/blob - sys/src/cmd/rc/fns.h
rc: change plan9 envname limit to 128, cleanup
[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    Memcpy(void*, void*, long);
14 void    Noerror(void);
15 int     Opendir(char*);
16 long    Read(int, void*, long);
17 int     Readdir(int, void*, int);
18 long    Seek(int, long, long);
19 void    Trapinit(void);
20 void    Unlink(char*);
21 void    Updenv(void);
22 void    Vinit(void);
23 int     Waitfor(int, int);
24 long    Write(int, void*, long);
25 void    addwaitpid(int);
26 int     advance(void);
27 int     back(int);
28 void    cleanhere(char*);
29 void    codefree(code*);
30 int     compile(tree*);
31 char *  list2str(word*);
32 int     count(word*);
33 void    deglob(void*);
34 void    delwaitpid(int);
35 void    dotrap(void);
36 void    freenodes(void);
37 void    freewords(word*);
38 void    globlist(void);
39 int     havewaitpid(int);
40 int     idchr(int);
41 void    inttoascii(char*, long);
42 void    kinit(void);
43 int     mapfd(int);
44 int     match(void*, void*, int);
45 int     matchfn(void*, void*);
46 char**  mkargv(word*);
47 void    clearwaitpids(void);
48 void    panic(char*, int);
49 void    pathinit(void);
50 void    poplist(void);
51 void    popword(void);
52 void    pprompt(void);
53 void    pushlist(void);
54 void    pushredir(int, int, int);
55 void    pushword(char*);
56 void    readhere(void);
57 word*   searchpath(char*);
58 void    setstatus(char*);
59 void    setvar(char*, word*);
60 void    skipnl(void);
61 void    start(code*, int, var*);
62 int     truestatus(void);
63 void    usage(char*);
64 int     wordchr(int);
65 void    yyerror(char*);
66 int     yylex(void);
67 int     yyparse(void);