shithub: riscv

ref: c59eb6d117c6dc99bc6e4330d3a9a3453888dee7
dir: /sys/src/cmd/9660srv/fns.h/

View raw version
void	chat(char*, ...);
void*	ealloc(long);
void	error(char*);
Iobuf*	getbuf(Xdata*, ulong, ulong);
Xdata*	getxdata(char*);
void	iobuf_init(void);
void	nexterror(void);
void	panic(int, char*, ...);
void	purgebuf(Xdata*);
void	putbuf(Iobuf*);
void	refxfs(Xfs*, int);
void	showdir(int, Dir*);
Xfile*	xfile(int, int);
void setnames(Dir*, char*);

#define	waserror()	(++nerr_lab, setjmp(err_lab[nerr_lab-1]))
#define	poperror()	(--nerr_lab)