aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/stddef.h
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-02 02:27:18 +0900
committernsfisis <nsfisis@gmail.com>2025-08-15 10:06:21 +0900
commitd35821fb1673ce1dacd5aada3c66446d9264e7f3 (patch)
tree20dda418bb2225a57c091fdc83a63669392de136 /include/stddef.h
parent242c8a93d9a754df07c750f63259e3e23d5fc5d4 (diff)
downloadducc-d35821fb1673ce1dacd5aada3c66446d9264e7f3.tar.gz
ducc-d35821fb1673ce1dacd5aada3c66446d9264e7f3.tar.zst
ducc-d35821fb1673ce1dacd5aada3c66446d9264e7f3.zip
feat: add ducc version of stddef.h
Diffstat (limited to 'include/stddef.h')
-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