20 Jan 2003 13:26
Re: Printing of off_t and size_t values
David Laight <david <at> l8s.co.uk>
2003-01-20 12:26:04 GMT
2003-01-20 12:26:04 GMT
> 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
RSS Feed