]> git.puffer.fish Git - matthieu/frr.git/commit
lib/printf: Implement N2630.
authorDag-Erling Smørgrav <des@FreeBSD.org>
Mon, 28 Aug 2023 15:32:23 +0000 (15:32 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Sun, 3 Sep 2023 21:32:55 +0000 (23:32 +0200)
commit3ca2253b13a871c97d72a014a261b41d7f75a660
tree811de60f6fa3309d2f8f8a1cdfd53a7dd7f9655a
parent53df20fa688c61772632dbd71118a2c46604eb53
lib/printf: Implement N2630.

This adds formatted input/output of binary integer numbers to the
printf(), scanf(), and strtol() families, including their wide-character
counterparts.

Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D41511

FRR changes only include printf(), scanf/strtol are not locally
implemented in FRR.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from FreeBSD commit d9dc1603d6e48cca84cad3ebe859129131b8387c)
lib/printf/printfcommon.h
lib/printf/vfprintf.c