From 3f9278b48ff4bc0d2cf1604034b3bba548572f04 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Sun, 11 Feb 2024 23:48:04 +0000 Subject: kjarna initial impl --- api/libc/string.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 api/libc/string.h (limited to 'api/libc/string.h') 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 + +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); + -- cgit v1.3.1-1-g115d