[ NoReturn ]
[ Version ( since = "0.9.3" ) ]
public void check_waitpid_and_exit (pid_t pid)
Wait for the pid and exit.
This is to be used in conjunction with check_fork. When called, will wait for the given process to terminate. If the process exited without error, exit(EXIT_SUCCESS) is invoked; otherwise exit(EXIT_FAILURE) is invoked.
If Check is compiled without support for fork(), this invokes exit(EXIT_FAILURE).
process to wait for, created by check_fork