diff options
| author | Ada Christine <adachristine18@gmail.com> | 2024-02-11 23:48:04 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2024-02-11 23:48:04 +0000 |
| commit | 3f9278b48ff4bc0d2cf1604034b3bba548572f04 (patch) | |
| tree | dbdabed3ff580079d2e21045d2cbc5b274c2e418 /api/libc/string.h | |
| parent | 9fbfc6e951e565ef98c49c1dcfc4b6a39514f17d (diff) | |
kjarna initial impl
Diffstat (limited to 'api/libc/string.h')
| -rw-r--r-- | api/libc/string.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/api/libc/string.h b/api/libc/string.h new file mode 100644 index 0000000..d1d45d5 --- /dev/null +++ b/api/libc/string.h @@ -0,0 +1,11 @@ +#pragma once + +#include <stddef.h> + +void *memcpy(void *dest, const void *src, size_t size); +void *memmove(void *dest, const void *src, size_t size); +void *memset(void *dest, int val, size_t size); +int memcmp(const void *str1, const void *str2, size_t count); +size_t strlen(const char *s); +unsigned long long strtoull(const char *restrict begin, char **restrict end, int base); + |
