Displaying a message on terminal
I am trying to write a system call which needs to print a message on terminal of every logged on user. printk writes to /var/log/messages, panic does the thing but locks the system. what should i use?
Thanks for the help |
wall
|
thank chris but is it used just like printk or do i have to include a specific header?
cauz it gave me an undefined reference error |
echo whatever you want | wall
That's how I use it... |
Sorry Chris that was my foolness. I didnt make the thing clear. I am writing kernel code /usr/src/linux/kernel/user.c and that is where i wish to use the message thing.
Thanks again |
All times are GMT -5. The time now is 11:07 AM. |