Thomas Ng wrote:
> 
> hi all
> 
> how can I print something to the screen from a rt-task? can I just use
> printf? or I need to use the fifo queue?

You can use printk(), that is similar to printf but works inside the
kernel space. Only two things to remember.

- This function displays his output to the console, no X windows
- printk use some time to execute, so be carefull in order to don't have
overrun.

Dani

-- 
______________________________________________________________
José Daniel Muñoz Frías                [EMAIL PROTECTED]

Universidad Pontificia Comillas
ICAI. Depto. Electrónica y Automática

Alberto Aguilera 23 
28015 Madrid, Spain

Telf. 34-1-5422800                           Fax: 34-1-5596569
______________________________________________________________
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to