static int __init hello_2_init(void) { printk(KERN_INFO "Hello, world 2\n"); return 0; } static void __exit hello_2_exit(void) { printk(KERN_INFO "Goodbye, world 2\n"); } module_init(hello_2_init); module_exit(hello_2_exit);
<linux/init.h>
Creator
Creator
Seonglae ChoCreated
Created
2023 Oct 17 11:1Editor
Editor
Seonglae ChoEdited
Edited
2023 Oct 17 11:2Refs
Refs
