Subject: Re: How to format u_int64_t on sparc64?
To: NetBSD-current Discussion List <current-users@NetBSD.ORG>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 02/27/2003 16:27:51
[ On Thursday, February 27, 2003 at 12:27:23 (-0800), Jason R Thorpe wrote: ]
> Subject: Re: How to format u_int64_t on sparc64?
> > Meanwhile casting to an explicit basic integer type that's sure to be at
> > least as wide as the value to be formatted and then just using the
> > proper explicit format specifier for that basic integer type will also
> > obviously work too, just as good C programmers have been doing for time
> > immemorial:
> > printf("%llu", (unsigned long long) var_u64);
> You mean GNU C programmers -- "unsigned long long" is not a C89 type.
No, for dealing with 64-bit unsigned values, I mean C99 programmers. ;-)
Obviously you couldn't have been talking about C89 either.
If you're going to embrace a new standard then you really should embrace
it all! ;-)
(which is why I don't embrace C99 at all! ;-)
Greg A. Woods
+1 416 218-0098; <email@example.com>; <firstname.lastname@example.org>
Planix, Inc. <email@example.com>; VE3TCP; Secrets of the Weird <firstname.lastname@example.org>