IT科技类资讯

嵌入式Linux驱动程序开发要点详解

时间:2010-12-5 17:23:32  作者:系统运维   来源:IT科技类资讯  查看:  评论:0
内容摘要:复制structfile_operation{ int(*lseek)(structinode*inode,structfile*filp,off_toff,intpos);

嵌入式Linux驱动程序开发要点详解
复制structfile_operation{   int(*lseek)(structinode*inode,嵌入驱动structfile*filp,off_toff,intpos);   int(*read)(structinode*inode,structfile*filp,char*buf,intcount);   int(*write)(structinode*inode,structfile*filp,constchar*buf,intcount);   int(*readdir)(structinode*inode,structfile*filp,structdirent*dirent,intcount);   int(*select)(structinode*inode,structfile*filp,intsel_type,select_table*wait);   int(*ioctl)(structinode*inode,structfile*filp,unsignedintcmd,unsignedintarg);   int(*mmap)(void);   int(*open)(structinode*inode,structfile*filp);   int(*release)(structinode*inode,structfile*filp);   int(*fasync)(structinode*inode,structfile*filp);   };   1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.24.
copyright © 2025 powered by 编程之道  滇ICP备2023006006号-34sitemap