Thanks for all of your suggestions.
I understood that i can put any kind of data into fifos by use of cast.
So I get the time in the module by means of function gethrtime and i
pass it to the fifo.OK? In fact the structure hrtime_t is defined as
long long so ...
>From the linux app how can I manage the data.
I read the fifo as
long long my_data;
read ("/dev/rtf7", my_data, sizeof(my_data));
Is long long c compliant??
Is there a printf function to print this type?
Can I do arithmetic operations with them?
And i want to convert it to ascii, so to write a text file. Is it
posible?
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/