Searched refs:pr_wstat (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10/dtrace-147/plockstat/
H A Dplockstat.c672 typedef struct psinfo { int pr_wstat; } psinfo_t; member in struct:psinfo
684 * Ideally we would like to always report pr_wstat here, but it
688 * When /proc provides a stable pr_wstat in the status file,
689 * this code can be improved by examining this new pr_wstat.
691 if (prp != NULL && WIFSIGNALED(prp->pr_wstat)) {
693 proc_signame(WTERMSIG(prp->pr_wstat),
695 } else if (prp != NULL && WEXITSTATUS(prp->pr_wstat) != 0) {
697 pid, WEXITSTATUS(prp->pr_wstat));
/macosx-10.10/dtrace-147/cmd/
H A Ddtrace_1.c990 typedef struct psinfo { int pr_wstat; } psinfo_t; member in struct:psinfo
1002 * Ideally we would like to always report pr_wstat here, but it
1006 * When /proc provides a stable pr_wstat in the status file,
1007 * this code can be improved by examining this new pr_wstat.
1009 if (prp != NULL && WIFSIGNALED(prp->pr_wstat)) {
1011 proc_signame(WTERMSIG(prp->pr_wstat),
1013 } else if (prp != NULL && WEXITSTATUS(prp->pr_wstat) != 0) {
1015 pid, WEXITSTATUS(prp->pr_wstat));

Completed in 166 milliseconds