On Fri, 14 Oct 2016 12:45:27 +0200
Laslo Hunhold <dev_AT_frign.de> wrote:
> I totally agree with you there. It just obfuscates the code, even
> suggesting EXIT_TIMEOUT was part of Posix, which it is not. I think it
> should be common knowledge by now that a zero exit status indicates
> success and a non-zero exit-status (1, 2, ...) indicates failure.
Oh, and before you inform me. I know that OpenVMS has the roles
inverted (exit(1) means success). However, there are two aspects we
should keep in mind:
1) OpenVMS is not the most popular OS any more.
2) Using EXIT_* we cannot write reliable manuals, as we do
use 0, 1, 2, ... there.
Cheers
Laslo
--
Laslo Hunhold <dev_AT_frign.de>
Received on Fri Oct 14 2016 - 12:48:20 CEST