ddb235bd879099c1fcc1a9bb0bc778af14584e29
[mirrors/Programs.git] / hello.c
1 #define MODULE
2 #include <linux/module.h>
3
4 int init_module (void) /* Loads a module in the kernel */
5 {
6 printk("Hello kernel\n");
7 return 0;
8 }
9
10 void cleanup_module(void) /* Removes module from kernel */
11 {
12 printk("GoodBye Kernel\n");
13 }
14
15
This page took 0.405347 seconds and 3 git commands to generate.