Changes between Version 27 and Version 28 of CodingStyle
- Timestamp:
- Feb 12, 2013, 11:48:45 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingStyle
v27 v28 159 159 === Error codes === #error-codes 160 160 161 * (Almost) all functions should return an integer error code. Nonzero means error. See [source: trunk/boinc/lib/error_numbers.h lib/error_numbers.h] for a list of error codes.161 * (Almost) all functions should return an integer error code. Nonzero means error. See [source:boinc/lib/error_numbers.h lib/error_numbers.h] for a list of error codes. 162 162 * Calls to functions that return an error code should check the code. Generally they should return non-zero on error, e.g.: 163 163 {{{