Lines Matching refs:status
932 int status;
935 pid = waitpid(-1, &status, WNOHANG);
945 if (WIFEXITED(status)) {
946 if (WEXITSTATUS(status) == 0)
949 log_warning("worker ["PID_FMT"] exited with return code %i", pid, WEXITSTATUS(status));
950 } else if (WIFSIGNALED(status)) {
952 pid, WTERMSIG(status), strsignal(WTERMSIG(status)));
953 } else if (WIFSTOPPED(status)) {
956 } else if (WIFCONTINUED(status)) {
960 log_warning("worker ["PID_FMT"] exit with status 0x%04x", pid, status);
963 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {