Eric Blake <eblake(a)redhat.com> writes:
In a quick google search, I found this use of PRIdS (which is geared
more for ssize_t, but the analog PRIuS would apply to size_t):
http://bytes.com/topic/c/answers/506972-64-bit-portability-size_t-printf-...
However, S is awfully short; I'd prefer something a bit longer like
PRIuSIZE.
To my eye, PRIuSIZE follows the pattern set by PRIdPTR,
PRIuLEASTN, etc. I like it.
--
Ben Pfaff
http://benpfaff.org