]> git.buserror.net Git - polintos/scott/priv.git/blob - include/c/std/string.h
Move some freestanding libc functions from the kernel into
[polintos/scott/priv.git] / include / c / std / string.h
1 #ifndef _C_STRING_H
2 #define _C_STRING_H
3
4 #include <stddef.h>
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 void *memcpy(void *dest, const void *src, size_t len);
11 void *memset(void *block, int count, size_t len);
12 int memcmp(const void *b1, const void *b2, size_t len);
13 size_t strlen(const char *s);
14
15 #ifdef __cplusplus
16 }
17 #endif
18
19 #endif