1 void xread(Iobuf*); 2 void chat(char*, ...); 3 void* ealloc(long); 4 void error(char*); 5 Iobuf* getbuf(Xdata*, long); 6 Xdata* getxdata(char*); 7 void iobuf_init(void); 8 void nexterror(void); 9 void panic(int, char*, ...); 10 void purgebuf(Xdata*); 11 void putbuf(Iobuf*); 12 void refxfs(Xfs*, int); 13 void showdir(int, Dir*); 14 Xfile* xfile(int, int); 15 16 #define waserror() (++nerr_lab, setjmp(err_lab[nerr_lab-1])) 17 #define poperror() (--nerr_lab) 18