From 05498860e8f7b1e8bb27880bc7526de026694804 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 26 Mar 2021 21:55:50 +0100 Subject: Renamed libs Cleaner and more flexible. --- libs/libc/inc/conv.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 libs/libc/inc/conv.h (limited to 'libs/libc/inc/conv.h') diff --git a/libs/libc/inc/conv.h b/libs/libc/inc/conv.h new file mode 100644 index 0000000..adf9003 --- /dev/null +++ b/libs/libc/inc/conv.h @@ -0,0 +1,15 @@ +// MIT License, Copyright (c) 2020 Marvin Borner + +#ifndef CONV_H +#define CONV_H + +#include + +int atoi(const char *str); +char *htoa(u32 n); +int htoi(const char *str); +char *itoa(int n); + +char *conv_base(int value, char *result, int base, int is_signed); + +#endif -- cgit v1.2.3