diff options
| author | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2023-06-15 22:36:39 -0400 |
|---|---|---|
| committer | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2023-06-15 22:36:39 -0400 |
| commit | a78033acc941fc4bcf6188f1d48fd8e012673fff (patch) | |
| tree | ac92adae5e40274fd9e0b78352a24840cc88eab4 /kernel/include/string.h | |
initial commit
Diffstat (limited to 'kernel/include/string.h')
| -rw-r--r-- | kernel/include/string.h | 20 |
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 |
