code: 9ferno

ref: b548687a8ed1d0a159c9d3f3f921d93bbb56908e
dir: /include/kernel.h/

View raw version
extern	vlong	libseek(int, vlong, int);
extern	int	libread(int, void*, int);
extern	int	libreadn(int, void*, long);
extern	int	libwrite(int, void*, int);
extern	int	libopen(char*, int);
extern	int	libclose(int);
extern	Dir*	libdirfstat(int);
extern	int	libbind(char*, char*, int);
extern	void*	libqlalloc(void);
extern	void	libqlfree(void*);
extern	void	libqlock(void*);
extern	void	libqunlock(void*);
extern	void*	libqlowner(void*);
extern	void*	libfdtochan(int, int);
extern	void	libchanclose(void*);
extern	int	kbind(char*, char*, int);
extern	int	kchdir(char*);
extern	int	kclose(int);
extern	int	kcreate(char*, int, ulong);
extern	Dir*	kdirfstat(int);
extern	int	kdirfwstat(int, Dir*);
extern	long	kdirread(int, Dir**);
extern	Dir*	kdirstat(char*);
extern	int	kdirwstat(char*, Dir*);
extern	int	kdup(int, int);
extern	int	kfauth(int, char*);
extern	char*	kfd2path(int);
extern	int	kfstat(int, uchar*, int);
extern	int	kfversion(int, uint, char*, uint);
extern	int	kfwstat(int, uchar*, int);
extern	int	kmount(int, int, char*, int, char*);
extern	int	kopen(char*, int);
extern	int	kpipe(int[2]);
extern	s32	kpread(int, void*, s32, s64);
extern	s32	kread(int, void*, s32);
extern	int	kremove(char*);
extern	vlong	kseek(int, vlong, int);
extern	int	kstat(char*, uchar*, int);
extern	int	kunmount(char*, char*);
extern	s32	kpwrite(int, void*, s32, s64);
extern	s32	kwrite(int, void*, s32);
extern	int	kwstat(char*, uchar*, int);
extern	int	klisten(char*, char*);
extern	int	kannounce(char*, char*);
extern	int	kdial(char*, char*, char*, int*);
extern	void	kerrstr(char*, uint);
extern	int	kiounit(int);
extern	void	kwerrstr(char *, ...);
extern	void	kgerrstr(char*, uint);
extern	long	kchanio(void*, void*, int, int);