diff options
| author | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2024-05-05 01:08:00 -0400 |
|---|---|---|
| committer | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2024-05-05 01:08:00 -0400 |
| commit | 4aa74dbe2a35a45668b33d688f17b680c2232572 (patch) | |
| tree | 42794e2fe2ba653ccbf772bb02dbfda07f75943e /libc/include/string.h | |
| parent | 2d59766eb330b9d15a9bcbcd7e1695809fc099c5 (diff) | |
improved makefile somewhat
Diffstat (limited to 'libc/include/string.h')
| -rw-r--r-- | libc/include/string.h | 20 |
1 files changed, 20 insertions, 0 deletions
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 <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 |
