Subject: Re: kern/1515 [Re: PR-7148 (causes kernel panic)]
To: Christos Zoulas <email@example.com>
From: Chris G. Demetriou <firstname.lastname@example.org>
Date: 11/02/1999 11:18:59
email@example.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 - firstname.lastname@example.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.