aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/inc/conv.h
blob: 95f7d027369134ac3f80d342874c9c70f3c62021 (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) NONNULL;
char *htoa(u32 n);
int htoi(const char *str) NONNULL;
char *itoa(int n);

char *conv_base(int value, char *result, int base, int is_signed) NONNULL;

#endif