From: Lennart Poettering Date: Fri, 15 May 2015 19:34:14 +0000 (+0200) Subject: CODING_STYLE: document that EXIT_FAILURE and EXIT_SUCCESS should be used X-Git-Tag: v220~115 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0fef704c6fbb07cb0289eadc405f49286aa70e53;p=thirdparty%2Fsystemd.git CODING_STYLE: document that EXIT_FAILURE and EXIT_SUCCESS should be used --- diff --git a/CODING_STYLE b/CODING_STYLE index 795521cc6a6..fab928833b0 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.