diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-05-15 21:34:14 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-05-15 21:34:14 +0200 |
commit | 0fef704c6fbb07cb0289eadc405f49286aa70e53 (patch) | |
tree | cc14eca99f3b044be1db05bc93d6fa66cafe42ec /CODING_STYLE | |
parent | a5ecb0cec25befafdee1e32c6f24cda8e29f89af (diff) |
CODING_STYLE: document that EXIT_FAILURE and EXIT_SUCCESS should be used
Diffstat (limited to 'CODING_STYLE')
-rw-r--r-- | CODING_STYLE | 3 |
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. |