summaryrefslogtreecommitdiff
path: root/src/stdlib/EXIT_SUCCESS.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/EXIT_SUCCESS.c')
-rw-r--r--src/stdlib/EXIT_SUCCESS.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/stdlib/EXIT_SUCCESS.c b/src/stdlib/EXIT_SUCCESS.c
new file mode 100644
index 00000000..ce2ed9df
--- /dev/null
+++ b/src/stdlib/EXIT_SUCCESS.c
@@ -0,0 +1,15 @@
+#include <stdlib.h>
+
+/** successful program termination **/
+
+#define EXIT_SUCCESS (0)
+
+/***
+is used as the ARGUMENT(status) argument to FUNCTION(exit) or FUNCTION(_Exit),
+or the return value from FUNCTION(main), to indicate that the program is
+exiting successfully.
+***/
+
+/*
+STDC(1)
+*/