WSTOPSIG
pp->p_reason = WSTOPSIG(w);
strlcpy(buf, sigtraps[WSTOPSIG(p->status)].mess,
raise(WSTOPSIG(pstat));
printf(" stop=%d", WSTOPSIG(status));
ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP);
CHILD_REQUIRE(WSTOPSIG(status) == SIGSTOP);
CHILD_REQUIRE(WSTOPSIG(status) == SIGSTOP);
ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP);
signum = WSTOPSIG(status);
if (WSTOPSIG(status) == SIGTTIN || WSTOPSIG(status) == SIGTTOU)
if (WSTOPSIG(status) == SIGTTIN || WSTOPSIG(status) == SIGTTOU)