2014年5月22日
摘要: 不能再简化 1 #include 2 #include 3 4 #include 5 #include 6 #include 7 void * meng_seq_start(struct seq_file*s,loff_t*pos) 8 { 9 if(*pos>1)10 ... 阅读全文
posted @ 2014-05-22 18:01 宇睿 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 不能再简化了#include#include#includeint meng_read_proc(char*page,char**start,off_t offset,int count,int*eof,void*data){ char*s="Hello. This is meng p... 阅读全文
posted @ 2014-05-22 17:14 宇睿 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 已经无法再精简,适合入门。 1 #include 2 #include 3 4 #include 5 #include 6 #include 7 #include 8 struct mengc_dev{ 9 char data[64];10 struct cdev... 阅读全文
posted @ 2014-05-22 11:28 宇睿 阅读(242) 评论(1) 推荐(0) 编辑