Lines Matching refs:wait4
2 * Check decoding of wait4 syscall.
95 pid_t rc = wait4(pid, wstatus, options, ru);
124 if (wait4(pid, s, WNOHANG|__WALL, NULL))
125 perror_msg_and_fail("wait4 #1");
126 tprintf("wait4(%d, %p, WNOHANG|__WALL, NULL) = 0\n", pid, s);
129 if (wait4(pid, s, WNOHANG|__WALL, rusage))
130 perror_msg_and_fail("wait4 #2");
131 tprintf("wait4(%d, %p, WNOHANG|__WALL, %p) = 0\n", pid, s, rusage);
138 tprintf("wait4(%d, [{WIFEXITED(s) && WEXITSTATUS(s) == 42}], 0, %s)"
152 tprintf("wait4(%d, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGUSR1}]"
173 tprintf("wait4(%d, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSTOP}]"
182 tprintf("wait4(%d, [{WIFCONTINUED(s)}], WCONTINUED"
191 tprintf("wait4(%d, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0"
194 assert(wait4(-1, s, WNOHANG|WSTOPPED|__WALL, rusage) == -1);
195 tprintf("wait4(-1, %p, WNOHANG|WSTOPPED|__WALL, %p) = -1 %s (%m)\n",