← Back to davo.co
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Faulkner <[email protected]>2026-08-05 20:38:54 -0500
committerDavid Faulkner <[email protected]>2026-08-05 20:38:54 -0500
commit196efd1bb2b68feec9acbdcc89c3e3df19660e12 (patch)
treedf93c49be2de4e0fe6b1bb18fa2bfe4d1d11ce9a
parentcbb49cc0d0fbd93e57bcc06c94df94afc1e12cc8 (diff)
Add stdlib exit code
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 018f7b0..0522e18 100644
--- a/main.c
+++ b/main.c
@@ -1,6 +1,8 @@
+#include "stdlib.h"
#include "stdio.h"
int main(void) {
printf("Hello, World!\n");
- return 0;
+
+ return EXIT_SUCCESS;
}