]> git.baikalelectronics.ru Git - kernel.git/commit
tools/nolibc/stdlib: add i64toa() and u64toa()
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Feb 2022 16:23:28 +0000 (17:23 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 21 Apr 2022 00:05:44 +0000 (17:05 -0700)
commit98c7aa1294e462858f2395401e64bfc9fb5e3634
treea999020239ee5672d0e51327cb121652262b2328
parentda2f488948697b19c2e5725ee92931b7a6d67364
tools/nolibc/stdlib: add i64toa() and u64toa()

These are 64-bit variants of the itoa() and utoa() functions. They also
support reentrant ones, and use the same itoa_buffer. The functions are
a bit larger than the previous ones in 32-bit mode (86 and 98 bytes on
x86_64 and armv7 respectively), which is why we continue to provide them
as separate functions.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/stdlib.h