Check if the given subprocess exited normally (ie: by way of exit or return from main
).
This is equivalent to the system WIFEXITED macro.
It is an error to call this function before wait has returned.
this |
true if the case of a normal exit |