⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fns.h

📁 这是一个同样来自贝尔实验室的和UNIX有着渊源的操作系统, 其简洁的设计和实现易于我们学习和理解
💻 H
字号:
#include "portfns.h"long	belong(char *);Chan*	chaninit(char*);void	check(Filsys *, long);int 	cmd_exec(char*);void	consserve(void);void	confinit(void);int	fsinit(int, int);void	*ialloc(ulong);int	nextelem(void);long	number(int, int);Device	scsidev(char*);int	skipbl(int);void	startproc(void (*)(void), char *);void	syncproc(void);void	syncall(void);int	fprint(int, char*, ...);void	wreninit(Device);int	wrencheck(Device);void	wrenream(Device);long	wrensize(Device);long	wrensuper(Device);long	wrenroot(Device);int	wrenread(Device, long, void *);int	wrenwrite(Device, long, void *);/* * macros for compat with bootes */#define	localfs			1#define devgrow(d, s)	0#define nofree(d, a)	0#define isro(d)		0#define	superaddr(d)		((*devcall[d.type].super)(d))#define	getraddr(d)		((*devcall[d.type].root)(d))#define devsize(d)		((*devcall[d.type].size)(d))#define	devwrite(d, a, v)	((*devcall[d.type].write)(d, a, v))#define	devread(d, a, v)	((*devcall[d.type].read)(d, a, v))

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -