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