hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/sysroot/usr/include/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysroot/usr/include/string.h')
-rw-r--r--sysroot/usr/include/string.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/sysroot/usr/include/string.h b/sysroot/usr/include/string.h
new file mode 100644
index 0000000..2177ad6
--- /dev/null
+++ b/sysroot/usr/include/string.h
@@ -0,0 +1,17 @@
+#ifndef _STRING_H
+#define _STRING_H
+
+#include <stddef.h>
+
+size_t strlen(const char* string);
+int strcmp(const char* a, const char* b);
+int strncmp(const char* a, const char* b, size_t length);
+char* strcpy(char* destination, const char* source);
+char* strncpy(char* destination, const char* source, size_t length);
+
+void* memcpy(void* destination, const void* source, size_t length);
+void* memmove(void* destination, const void* source, size_t length);
+void* memset(void* destination, int value, size_t length);
+int memcmp(const void* a, const void* b, size_t length);
+
+#endif