summaryrefslogtreecommitdiff
path: root/kernel/include/libk/string.h
blob: 88df3a453de7ecb16135e9cb3b97604ad91fa4d4 (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