Home | History | Annotate | Download | only in source

Lines Matching refs:pid_status

2579                 int pid_status = 0;
2581 if (!DNBProcessGetExitStatus(pid, &pid_status))
2582 pid_status = 0;
2584 if (pid_status)
2586 if (WIFEXITED (pid_status))
2587 snprintf (pid_exited_packet, sizeof(pid_exited_packet), "W%02x", WEXITSTATUS (pid_status));
2588 else if (WIFSIGNALED (pid_status))
2589 snprintf (pid_exited_packet, sizeof(pid_exited_packet), "X%02x", WEXITSTATUS (pid_status));
2590 else if (WIFSTOPPED (pid_status))
2591 snprintf (pid_exited_packet, sizeof(pid_exited_packet), "S%02x", WSTOPSIG (pid_status));