summaryrefslogtreecommitdiff
path: root/src/init/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/init/stdlib.h')
-rw-r--r--src/init/stdlib.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/init/stdlib.h b/src/init/stdlib.h
new file mode 100644
index 0000000..1cabc7a
--- /dev/null
+++ b/src/init/stdlib.h
@@ -0,0 +1,7 @@
+#pragma once
+#include <stddef.h>
+
+// TODO since this is shared with the kernel, maybe i could turn this into an
+// stb-style header file
+
+int memcmp(const void *s1, const void *s2, size_t n);