diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2023-09-07 06:14:44 +0000 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2024-03-10 15:29:17 +0100 |
| commit | c9170233809c149808389837be754c52b3bbdd74 (patch) | |
| tree | 0fc8bf9b73ec40dd87f066e1805f3f7680967562 /lib/command_py.c | |
| parent | aa6ceeeb5b1f92280ee79716e68d31c9a8686230 (diff) | |
lib/printf: Implement N2680.
This adds specific width length modifiers in the form of wN and wfN
(where N is 8, 16, 32, or 64) which allow printing intN_t and
int_fastN_t without resorting to casts or PRI macros.
Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D41725
FRR changes only include printf(), scanf/strtol are not locally
implemented in FRR. Also added "(void) 0" to empty "else ..." to
avoid a compiler warning.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from FreeBSD commit bce0bef3c6abab92c7ac8cc23b7cc632a382721e)
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions
