Re: [PATCH v3] Many pages: Document fixed-width types with ISO C naming

From
Joseph Myers <hidden>
Date
2022-08-25 14:54:18
Also in
bpf, linux-api, linux-man, lkml, ltp
Reply to
Linus Torvalds, 2022-08-25
On Thu, 25 Aug 2022, Linus Torvalds wrote:
That's a small detail that yes, we've tried to avoid the absolute
humongous mess that the C standard library has with their horrendous
'PRId*' mess, but honestly, it's just a tiny detail.
I've not yet implemented it for glibc or for GCC format checking, but C23 
adds 'wN' format length modifiers so you will be able to e.g. use "%w64d" 
with printf to print an int64_t and won't need those PRI macros any more.

-- 
Joseph S. Myers
joseph@codesourcery.com
Thread (6 messages) 6 messages, 4 authors, last reply 2022-08-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help