Norm Dresner ([EMAIL PROTECTED]) wrote:
> 1. Don't you have to cast the results of the division to int (from long
> long) before this will work, i.e.
>       rtl_printf( "%d%09d" , (int)(t/100000...... );   ?
> 2. I also sent a code snippet for a function to format long-long in %16X.

Yes and yes.

Thanks!

Michael.

> 
> 
>       Norm
> 
> At 12:13 AM 8/3/2000 +0400, Michael Barabanov wrote:
> >t = gethrtime();
> >rtl_printf("%d%09d", t / 1000000000, t % 1000000000);
> >
> >Michael.
-- [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