fns.h 429 B

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