aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/inc/conv.h
blob: adf9003cd022eec332ec703ac6cfbac1c06c0d00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// MIT License, Copyright (c) 2020 Marvin Borner

#ifndef CONV_H
#define CONV_H

#include <def.h>

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