Lines Matching refs:tmpstat
972 int error, tmpstat;
974 error = kern_wait(td, pid, &tmpstat, options, ru);
979 tmpstat &= 0xffff;
980 if (WIFSIGNALED(tmpstat))
981 tmpstat = (tmpstat & 0xffffff80) |
982 bsd_to_linux_signal(WTERMSIG(tmpstat));
983 else if (WIFSTOPPED(tmpstat))
984 tmpstat = (tmpstat & 0xffff00ff) |
985 (bsd_to_linux_signal(WSTOPSIG(tmpstat)) << 8);
986 else if (WIFCONTINUED(tmpstat))
987 tmpstat = 0xffff;
988 error = copyout(&tmpstat, status, sizeof(int));