Re:Type-Safe Printf for C
by tinkersleep on Tuesday December 14, 2021 @03:10PM
(#29556841)
Ok, thanks for the hint. I put the most important infos into the intro: you just don't need 'll', 'l', 'z' modifiers for specifying sizeof(operand), as the compiler does that via _Generic.
[ Parent
| on HN ]
Also put an example in the first pageful. I almost lost hope while scrolling through the wall of format spec when I finally saw the first example.
Re:Type-Safe Printf for C
by tinkersleep on Wednesday December 15, 2021 @03:24AM
(#29563321)
OK, yes, good idea.