
17 Aug
2010
17 Aug
'10
6:15 p.m.
Eric Blake <eblake@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-for... 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