字符设备是指在I/O传输过程中以字符为单位进行传输的设备,例如键盘,打印机等。在UNIX系统中,字符设备以特别文件方式在文件目录树中占据位置并拥有相应的结点。 字符设备可以使用与普通文件相同的文件操作命令对字符设备文件进行操作,例如打开、关闭、读、写等。
...数据,待条件成熟后,从缓存一次性写入设备 或从设备中一次性读出放入到缓冲区,如磁盘和文件系统等字符设备(Character device):这是一个顺序的数据流设备,对这种设备的读写是按字符进行的,而且这些字符是连续地形成一个数据流。
基于822个网页-相关网页
字符设备(char device)是能够像字节流一样被访问的设备,由字符设备驱动程序来实现这种特性。它通常至少需要实现open、close、read和write系统调用。
基于227个网页-相关网页
字符设备文件 character device ; Character special file ; type ; CHR
块或字符设备 Block and Character Devices
字符设备驱动 struct cdev i_cdev
字符标识识别设备 Character and recognition device
字符交换设备 [计] character switching equipment
代表字符设备文件 class chr_file
字符显示设备 character display equipment ; [计] character display device
字符识别设备 character recognition device
定义一个字符设备对象 static struct cdev chr_dev
Thispaper use the virtual character device to envelop, in the ultimate degree, the concretehardware driving details and their individual information patterns, thus reduce thedifficulties of debug and development on the embedded Linux system and enhancethe system configurable.
文章利用虚拟字符设备来最大限度地封装硬件设备驱动的具体细节和其特定信息模式,以降低嵌入式 Linux 应用系统程序开发调试的难度,增强系统的可配置性。
参考来源 - 嵌入式Iinux操作系统裁剪和定制研究·2,447,543篇论文数据,部分数据来源于NoteExpress
文件系统将被作为块字符设备来处理。
The file system will be handled as a block character device.
然而,具有同步api的字符设备却需要额外的工作才能支持AIO。
Character drivers, however, have a synchronous API, and will not support AIO without some additional work.
对于大多数字符设备驱动,支持AIO并不能获得太多好处。
For most char drivers, there is little benefit to be gained from AIO support.
应用推荐