Lines Matching defs:status
267 p = procfs_file_alloca(pid, "status");
321 p = procfs_file_alloca(pid, "status");
463 int wait_for_terminate(pid_t pid, siginfo_t *status) {
468 if (!status)
469 status = &dummy;
472 zero(*status);
474 if (waitid(P_PID, pid, status, WEXITED) < 0) {
502 siginfo_t status;
507 r = wait_for_terminate(pid, &status);
511 if (status.si_code == CLD_EXITED) {
512 if (status.si_status != 0)
514 "%s failed with error code %i.", name, status.si_status);
518 return status.si_status;
519 } else if (status.si_code == CLD_KILLED ||
520 status.si_code == CLD_DUMPED) {
522 log_warning("%s terminated by signal %s.", name, signal_to_string(status.si_status));