Subject: Re: kern/1515 [Re: PR-7148 (causes kernel panic)]
To: Christos Zoulas <christos@zoulas.com>
From: Chris G. Demetriou <cgd@netbsd.org>
List: tech-net
Date: 11/02/1999 11:18:59
christos@zoulas.com (Christos Zoulas) writes:
> I don't know. NetBSD developers are using %qd most of the time. When I
> started porting our /usr/bin/ to solaris, I changed a lot of them to %lld.
> I am not particularly concerned for the kernel code, but for userland.
> I think that for maximum portability one should use:
> 
> 	"%ulld", (unsigned long long) u_quad_t_variable_name
> 	"%lld", (long long) quad_t_variable_name

I take it that other compilers/libraries now support this?  if so,
it's probably the right thing to use.

-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.