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

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

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