summaryrefslogtreecommitdiff
path: root/lib/printf/printfcommon.h
AgeCommit message (Collapse)Author
2023-09-20lib: random make-coverity-happy nitsDavid Lamparter
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2023-09-03lib/printf: Implement N2630.Dag-Erling Smørgrav
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)
2023-09-03lib/printf: Remove $FreeBSD$: two-line .h patternWarner Losh
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/ Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from FreeBSD commit b3e7694832e81d7a904a10f525f8797b753bf0d3)
2023-09-03lib/printf: drop "All rights reserved" from Foundation copyrightsEd Maste
This has already been done for most files that have the Foundation as the only listed copyright holder. Do it now for files that list multiple copyright holders, but have the Foundation copyright in its own section. Sponsored by: The FreeBSD Foundation Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from FreeBSD commit 5b5fa75acff11d871d0c90045f8c1a58fed85365)
2019-06-03lib/printf: integrateDavid Lamparter
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-06-03lib/printf: use system printf for floatsDavid Lamparter
We're not libc, we can just fall back to snprintf() to avoid all this low-level float mangling. Signed-off-by: David Lamparter <equinox@diac24.net>
2019-06-03lib/printf: cut down to sizeDavid Lamparter
remove various FreeBSD specific bits, as well as the entirety of locale support. Signed-off-by: David Lamparter <equinox@diac24.net>
2019-06-03lib: import FreeBSD's printfDavid Lamparter
... from current SVN HEAD (not that it has been touched in the past 2 years ...) Signed-off-by: David Lamparter <equinox@diac24.net>