From 4aa74dbe2a35a45668b33d688f17b680c2232572 Mon Sep 17 00:00:00 2001 From: EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> Date: Sun, 5 May 2024 01:08:00 -0400 Subject: improved makefile somewhat --- libc/include/string.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libc/include/string.h (limited to 'libc/include/string.h') diff --git a/libc/include/string.h b/libc/include/string.h new file mode 100644 index 0000000..4f6b5bd --- /dev/null +++ b/libc/include/string.h @@ -0,0 +1,20 @@ +#ifndef _STRING_H +#define _STRING_H 1 + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +int memcmp(const void*, const void*, size_t); +void* memcpy(void* __restrict, const void* __restrict, size_t); +void* memmove(void*, const void*, size_t); +void* memset(void*, int, size_t); +size_t strlen(const char*); + +#ifdef __cplusplus +} +#endif + +#endif \ No newline at end of file -- cgit v1.2.3-70-g09d2