In the book, we have been suggested that use printk.
but I have seen some kernel module that use printf. When can use use printf? and when is not?
thanks.
In the book, we have been suggested that use printk.
but I have seen some kernel module that use printf. When can use use printf? and when is not?
thanks.
Good advice.
Which one?
When you're running in user-space (not in the kernel).
When in the kernel.
-- Grant Edwards grante Yow! Am I in GRADUATE at SCHOOL yet? visi.com
Thanks for your help.
sorry, I got the point. In my case, it have a #define printf printk
^_^
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.