aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/stddef.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/stddef.h b/include/stddef.h
new file mode 100644
index 0000000..d4977de
--- /dev/null
+++ b/include/stddef.h
@@ -0,0 +1,10 @@
+#define NULL 0
+
+// TODO: unsigned
+typedef long size_t;
+
+// TODO:
+// - max_align_t (C11)
+// - nullptr_t (C23)
+// - offsetof
+// - ptrdiff_t