aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/stdlib.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index c02e094..f24fbf3 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -35,13 +35,26 @@
/**
- * `NULL`'s canonical header is <stddef.h>
+ * `NULL`'s canonical header is <stddef.h>.
*/
#ifndef NULL
# define NULL ((void*)0)
#endif
+/**
+ * The value a process shall exit with upon
+ * success completion.
+ */
+#define EXIT_SUCCESS 0
+
+/**
+ * A standard value a process can exit with
+ * if it terminates because of failure.
+ */
+#define EXIT_FAILURE 1
+
+
#endif