summaryrefslogtreecommitdiff
path: root/src/init/stdlib.h
diff options
context:
space:
mode:
authordzwdz2021-09-18 11:07:42 +0200
committerdzwdz2021-09-18 11:07:42 +0200
commit9741233ac39a1510de5bf3177c5172b4dd315222 (patch)
tree1e31ec65a0b994900c0fe3aeded4ef26d1f3ad02 /src/init/stdlib.h
parent3ef371d9183197bea81e6dd391860b19b1affbcf (diff)
create `init/stdlib`
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);