summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-05-15 21:34:14 +0200
committerLennart Poettering <lennart@poettering.net>2015-05-15 21:34:14 +0200
commit0fef704c6fbb07cb0289eadc405f49286aa70e53 (patch)
treecc14eca99f3b044be1db05bc93d6fa66cafe42ec /CODING_STYLE
parenta5ecb0cec25befafdee1e32c6f24cda8e29f89af (diff)
CODING_STYLE: document that EXIT_FAILURE and EXIT_SUCCESS should be used
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.