摘要:
转自:http://blog.csdn.net/lmm670/article/details/6080998 用过linux的哥们都知道,linux所有的设备都是以文件的形式实现的,要访问一个设备,我们只需要以open、read、write的形式对设备的进行操作就可以了。在linux系统的/dev目录下,罗列了当前系统支持的所有设备。运行ls /dev一下,着实吓了一大跳,[root@localhost ~]# ls /devadsp full midi ram9 tty15 tty42 ttyS3agpgart fuse mi... 阅读全文