📄 conf.h
字号:
/* * Declaration of block device * switch. Each entry (row) is * the only link between the * main unix code and the driver. * The initialization of the * device switches is in the * file conf.c. */extern struct bdevsw{ int (*d_open)(); int (*d_close)(); int (*d_strategy)(); struct buf *d_tab;} bdevsw[];/* * Character device switch. */extern struct cdevsw{ int (*d_open)(); int (*d_close)(); int (*d_read)(); int (*d_write)(); int (*d_ioctl)(); struct tty *d_ttys;} cdevsw[];/* * tty line control switch. */extern struct linesw{ int (*l_open)(); int (*l_close)(); int (*l_read)(); int (*l_write)(); int (*l_ioctl)(); int (*l_rint)(); int (*l_start)();} linesw[];
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -