Date: Sun, 6 Nov 2016 09:34:17 +0100
From: Nicolas Joly <[email protected]>
Message-ID: <[email protected]>
| Just encountered a case where wait(4) + WNOHANG do not fail with
| expected ECHILD when there is no process to wait.
See man 2 wait ...
When the WNOHANG option is specified and no processes wish to report
status, wait4() returns a process id of 0.
If you specified WNOHANG it is not an error that there are no processes
available, there are just no processes...
kre
