I customarily use 0 as success (i.e., no condition) and non-zero as an error code (or just true for bool), similar to the POSIX convention, for functions that otherwise have no return type. I've seen both conventions in code bases. The reason I prefer this convention to this day over the increasingl...