Re: beginner's question about KERN_ALERT (it does not work)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 1 Jan 2005 23:22:18 +0800
"#NGUYEN HOANG CHUNG#" <nguyenhoangchung@xxxxxxxxxxxxxxxx> wrote:

> Hi all,
>  
> I am following  The Linux Kernel Module Programming Guide with the 1st
> example :
> ___________________________
> int init_module(void)
> {
>    printk("<1>Hello world 1.\n");
>         
>       return 0;
> }
>  
>  
> void cleanup_module(void)
> {
>   printk(KERN_ALERT "Goodbye world 1.\n");
> }  
>  


A good reference about this is http://www.oreilly.de/openbook/ldd/chapter/book/ch04.html

The Book as a whole is also worth reading

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux