Lines Matching refs:pstat
140 int pstat, i;
166 pid = waitpid(pid, &pstat, 0);
171 if (WIFEXITED(pstat)) {
172 if (WEXITSTATUS(pstat) != 0) {
174 WEXITSTATUS(pstat));
177 } else if (WIFSIGNALED(pstat)) {
178 warnx("pwd_mkdb exited with signal %d", WTERMSIG(pstat));
237 int pstat;
275 editpid = waitpid(editpid, (int *)&pstat, WUNTRACED);
278 else if (WIFSTOPPED(pstat))
279 raise(WSTOPSIG(pstat));
280 else if (WIFEXITED(pstat) && WEXITSTATUS(pstat) == 0)