file_operations结构体是字符设备中最重要的一个,现在把一些目前常用到的罗列如下。 file_operations中的函数 **1、int (*open) (struct inode *, struct file *) 打开函数 2、int (*release) (