diff options
Diffstat (limited to 'lib/inc/conv.h')
-rw-r--r-- | lib/inc/conv.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/inc/conv.h b/lib/inc/conv.h new file mode 100644 index 0000000..d878deb --- /dev/null +++ b/lib/inc/conv.h @@ -0,0 +1,15 @@ +// MIT License, Copyright (c) 2020 Marvin Borner + +#ifndef CONV_H +#define CONV_H + +#include <def.h> + +int atoi(char *str); +char *htoa(u32 n); +int htoi(char *str); +char *itoa(int n); + +char *conv_base(int value, char *result, int base, int is_signed); + +#endif |