摘要: hello.c#include <linux/module.h>#include <linux/init.h>static int __init hello_init(void){ printk(KERN_ALERT "Hello,world!\n"); return 0; }static void __exit helo_exit(void){ printk(KERN_ALERT "GoodBye,cruel world!\n");}module_init(hello_init);module_exit(hello_exit); 阅读全文
posted @ 2012-10-03 14:13 断缠子 阅读(421) 评论(0) 推荐(0) 编辑
看不到我把