aboutsummaryrefslogtreecommitdiff
path: root/lib/libk/string.h
blob: 46d863660b0fa0e454fdeefcfdffc9f35e38491d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#define OCTAL 8
#define DECIMAL 10
#define HEX 16

/**
 * Convert int into a string
 */
char *itoa(char *p, int x, int base);
/**
 * Convert unsigned int into a string
 */
char *utoa(char *p, unsigned x, int base);