Re: how to print size_t in LGPLv2+ program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Blake <eblake@xxxxxxxxxx> 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-format-strings
> 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]