ioctl, mknod, feof

 ioctl() 是设备驱动程序中对设备的I/O通道进行管理的函数

mknod() 用于创建字符设备文件和块设备文件。(file, device special file or named pipe)

feof() 检测流上的文件结束符。如果文件结束,则返回非0值,否则返回0,文件结束符只能被clearerr()清除。

原文地址:https://www.cnblogs.com/banwhui/p/5485768.html