aboutsummaryrefslogtreecommitdiff
path: root/src/libs/string.hpp
blob: 305b9a89798873f9fc13a87d808a3cb5529d6ffb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "core/types.hpp"

/**
 * Copy data byte per byte from src to dst
 */
void memcpy(void *src, void *dst, int size);

/**
 * Convert int to char array
 */
void itoa(u64 i, char *a);

/**
 * Convert int to char array
 */
void itoh(u64 i, char *a);

/**
 * Length of a char*
 */
int strlen(char *s);