David Laight | 20 Jan 2003 13:26
Picon

Re: Printing of off_t and size_t values

> Well, if we are really set to go C99/POSIX-2001 here, I think it would
> be preferable not to have a 64-bit assumption but cast to intmax_t and
> format using either %jd or PRIdMAX.

No - you need to use a format appropriate for the type.
If the type is explicilty [u]int64_t you want PRId64, no
point passing a 128 bit integer.....

Is there a PRIdsize and PRIdssize ???

	David

--

-- 
David Laight: david <at> l8s.co.uk


Gmane