aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/string.h
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2014-11-30 20:05:47 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2014-11-30 20:05:47 +0100
commita375561ca15a99dd7024e5b8170a3c8fcf25b892 (patch)
tree06ec9ff45e49400d67f73ce20b3236d8551916a5 /kernel/include/string.h
parent54e7efbbd0e0c88d99bb6bddb82e9fc8d90eae50 (diff)
downloadmacroscope-a375561ca15a99dd7024e5b8170a3c8fcf25b892.tar.gz
macroscope-a375561ca15a99dd7024e5b8170a3c8fcf25b892.zip
More library functions & renaming.
Diffstat (limited to 'kernel/include/string.h')
-rw-r--r--kernel/include/string.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/include/string.h b/kernel/include/string.h
new file mode 100644
index 0000000..1eb3eef
--- /dev/null
+++ b/kernel/include/string.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include <stddef.h>
+#include <stdint.h>
+
+void *memcpy(void *dest, const void *src, int count);
+void *memset(void *dest, int val, int count);
+
+size_t strlen(const char *str);
+char *strchr(const char *str, char c);
+char *strcpy(char *dest, const char *src);
+char *strcat(char *dest, const char *src);
+int strcmp(const char *s1, const char *s2);