> I read the fifo as
> long long my_data;
> read ("/dev/rtf7", my_data, sizeof(my_data));

This should work. However it would be better style to define a type in a
header-file included by both, your driver and the user spce program.

> Is there a printf function to print this type?
printf("Time: %6lld,%09lld \n",my_data);

> Can I do arithmetic operations with them?
yes.


-- 
[EMAIL PROTECTED]
PGP key: http://www.math.uni-goettingen.de/appel/jappel.pgp
-- [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