aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/include/string.h
diff options
context:
space:
mode:
authorEmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com>2024-07-18 22:25:44 -0400
committerEmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com>2024-09-03 14:07:04 -0400
commit8eda325ede02d3fc606a34f7fa3c4922b05a84e4 (patch)
tree881da3ba217871a002e6e79bdfc90149cc589e1d /kernel/include/string.h
parent82bcab74e6e0c581dcf4ac4d7997aec5c5e14aae (diff)
Remerged the std stuff into the kernel
Diffstat (limited to 'kernel/include/string.h')
-rw-r--r--kernel/include/string.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/kernel/include/string.h b/kernel/include/string.h
new file mode 100644
index 0000000..4f6b5bd
--- /dev/null
+++ b/kernel/include/string.h
@@ -0,0 +1,20 @@
+#ifndef _STRING_H
+#define _STRING_H 1
+
+#include <stddef.h>
+
+#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