Today we have some inconsistencies in how we name our integer printing format specifiers. I'd like to change this to be consistent.
Current suggestion:
// Guide to the suffixes used in the format specifiers for integers:
// - print the decimal value: 745565
// _X - print as hexadecimal, without leading 0s: 0x12345
// _X_0 - print as hexadecimal, with leading 0s: 0x00012345
// _H - print as hexadecimal, without 0x prefix
// _W(w) - prints w sized string with the given value right
// adjusted. Use -w to print left adjusted.
//
// Note that the PTR format specifiers print using 0x with leading zeros,
// just like the _X_0 version for integers.
Current suggestion:
// Guide to the suffixes used in the format specifiers for integers:
// - print the decimal value: 745565
// _X - print as hexadecimal, without leading 0s: 0x12345
// _X_0 - print as hexadecimal, with leading 0s: 0x00012345
// _H - print as hexadecimal, without 0x prefix
// _W(w) - prints w sized string with the given value right
// adjusted. Use -w to print left adjusted.
//
// Note that the PTR format specifiers print using 0x with leading zeros,
// just like the _X_0 version for integers.