From 9b777b088facde26c33df6c746b948caff725602 Mon Sep 17 00:00:00 2001 From: aqua Date: Fri, 1 Apr 2022 21:46:28 +0300 Subject: printf: add %d, %u and %x --- lib/string.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/string.h') diff --git a/lib/string.h b/lib/string.h index 361d308..9873362 100644 --- a/lib/string.h +++ b/lib/string.h @@ -1,3 +1,4 @@ #pragma once -char *itoa(char *p, unsigned x); +char *itoa(char *p, int x, int base); +char *utoa(char *p, unsigned x, int base); -- cgit v1.2.1