plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

fns.h (429B)


      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 
     16 #define	waserror()	(++nerr_lab, setjmp(err_lab[nerr_lab-1]))
     17 #define	poperror()	(--nerr_lab)