]> git.lizzy.rs Git - plan9front.git/blob - sys/src/cmd/5e/fns.h
merge
[plan9front.git] / sys / src / cmd / 5e / fns.h
1 void *emalloc(u32int);
2 void *emallocz(u32int);
3 void *erealloc(void *, u32int);
4 void initproc(void);
5 int loadtext(char *, int, char **);
6 Segment *newseg(u32int, u32int, int);
7 void *vaddr(u32int, Segment **);
8 void *vaddrnol(u32int);
9 void step(void);
10 void syscall(void);
11 void cherrstr(char *, ...);
12 u32int noteerr(u32int, u32int);
13 void freesegs(void);
14 Fd *newfd(void);
15 Fd *copyfd(Fd *);
16 void fddecref(Fd *);
17 int iscexec(Fd *, int);
18 void setcexec(Fd *, int, int);
19 void cleanup(void);
20 void segunlock(Segment *);
21 void *copyifnec(u32int, int, int *);
22 void *bufifnec(u32int, int, int *);
23 void copyback(u32int, int, void *);