summaryrefslogtreecommitdiff
path: root/src/stddef/NULL.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stddef/NULL.h')
-rw-r--r--src/stddef/NULL.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/stddef/NULL.h b/src/stddef/NULL.h
new file mode 100644
index 00000000..d93bff2f
--- /dev/null
+++ b/src/stddef/NULL.h
@@ -0,0 +1,14 @@
+#define NULL ((void*)0)
+
+/** null pointer **/
+
+/***
+is an invalid pointer. It is used as a sentinel value in many standard
+library functions.
+***/
+
+/*
+UNDEFINED(Dereferencing THIS())
+IMPLEMENTATION(The value of THIS(), DEFINITION((void*)0))
+STDC(1)
+*/