summaryrefslogtreecommitdiffstats
path: root/kernel/stdlib.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-11-04 09:06:27 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-11-04 09:06:27 +0100
commit40390ebbd0c3e7363fec85e2c5ecd33fd3c36a63 (patch)
tree2a47786a1ed6b58e3f2cdc241a1322409671b7d1 /kernel/stdlib.h
parent53201e79cf34b288083c2e7e7fe95e9fe58fea0f (diff)
downloadjeyzuos-40390ebbd0c3e7363fec85e2c5ecd33fd3c36a63.zip
jeyzuos-40390ebbd0c3e7363fec85e2c5ecd33fd3c36a63.tar.gz
kernel: add stdlib.[ch]
Diffstat (limited to 'kernel/stdlib.h')
-rw-r--r--kernel/stdlib.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/stdlib.h b/kernel/stdlib.h
new file mode 100644
index 0000000..58bc3fa
--- /dev/null
+++ b/kernel/stdlib.h
@@ -0,0 +1,12 @@
+#ifndef _STDLIB_H_
+#define _STDLIB_H_
+
+#include "types.h"
+
+void *memset(void *s, int c, size_t n);
+
+void *memcpy(void *dest, void *src, size_t n);
+
+int strncmp(const char *s1, const char *s2, size_t n);
+
+#endif