The FIFO doesn't care what kind of data is passed. Tthe argument may be
typed as char *, but the data can be anything at all; just cast a pointer
to the data into a char-pointer.
Norm
At 02:42 PM 5/25/2000 -0300, WORM wrote:
>Hi people of the RTL world
>
>I�m reading the time from the kernel by the gethrtime function in a
>variable of type hrtime_t. I wanto to pass this value to a linux
>aplication by means of a fifo. The rtf_put function requires a char *
>buffer in its second argument.
>I want to know if it�s possible to convert the hrtime_t variable to
>ascii (char *) in the kernel in order to use rtf_put function?
>In case that is not possible, how can I pass this value to the fifo.?
>Is it possible or I should use shared memory or something else?
>
>Thanks, Gustavo
>
>
>
>-- [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/
>
>
-- [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/