4 ms·
I assume you mean the `%"PRIuMAX"` bits. It is an eyesore, but it is how to portably write the specifiers for types whose size my vary across architectures. T
by LukeShu 11y ago
I assume you mean the `%"PRIuMAX"` bits. It is an eyesore, but it is how to portably write the specifiers for types whose size my vary across architectures. That is, blame POSIX, not GNU coding style.
- _kst_ 11y agoThe `PRIuMAX` et al macros are specified by ISO C (starting with the 1999 standard), not (just) by POSIX.
- LukeShu 11y agoThat makes sense; the most recent editions of POSIX "import" ISO C '99. I had a copy of POSIX handy to check it, but not ISO C :)
- deleted 11y ago[deleted]
- deleted 11y ago[deleted]