summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
Diffstat (limited to 'CODING_STYLE')
-rw-r--r--CODING_STYLE3
1 files changed, 3 insertions, 0 deletions
diff --git a/CODING_STYLE b/CODING_STYLE
index 795521cc6a..fab928833b 100644
--- a/CODING_STYLE
+++ b/CODING_STYLE
@@ -287,3 +287,6 @@
zero(t);
t.foo = 7;
t.bar = "bazz";
+
+- When returning a return code from main(), please preferably use
+ EXIT_FAILURE and EXIT_SUCCESS as defined by libc.