- 错误设备函数,抛出错误
- 用于设备表(如 bdevsw)中 声明 错误设备函数
6561
6562 /*
6563 * Routine which sets a user error; placed in
6564 * illegal entries in the bdevsw and cdevsw tables.
6565 */
6566 nodev()
6567 {
6568
6569 u.u_error = ENODEV;
6570 }
6571 /* ------------------------- */