summaryrefslogtreecommitdiff
path: root/kernel/include/libk/string.h
blob: fd25cac1b10898b6b20b5fd6939a909601d6f1f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef STRING_H
#define STRING_H

#include <types.h>

size_t strlen(const char* s);
uint64_t stoi(const char *s);
void itos(uint64_t num, char* s);
void itoh(uint64_t num, char* s);
void strrev(char *s);
void memcpy(const void* destptr, const void* srcptr, size_t n);
void memset(const void* destptr, uint8_t value, size_t n);
int32_t memcmp(const void* aptr, const void* bptr);

#endif