Subject: Re: Printing of off_t and size_t values
To: Klaus Klein <kleink@reziprozitaet.de>
From: David Laight <david@l8s.co.uk>
List: tech-misc
Date: 01/20/2003 12:26:04
> 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@l8s.co.uk