NO!
        %ld is for a 32-bit long, not a 64-bit long-long.

        %lld is the printf (but not printk) format for the 64-bit long-long
format.

    Norm

> -----Original Message-----
> From: Herve Lacheray [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, July 31, 2000 10:00 AM
> To:   Adi Sudewa
> Cc:   [EMAIL PROTECTED]
> Subject:      Re: [rtl] rt_printk long long output 
> 
> try: %ld
> 
> On Mon, 31 Jul 2000, Adi Sudewa wrote:
> > My question is a silly one : how to do rt_printk() of gethrtime() return
> > value. gethrtime() returns 64-bit signed integer (a long long int).
> > I already tried %q (quad int), %L, and %ll but they won't work.
> > 
> > thanks in advance
> > 
> > Adi Sudewa
> > Teknik Informatika
> > Institut Teknologi Bandung
> > Bandung, Indonesia
> > 
> >  
> > 
> > 
> > -- [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/
-- [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