Searched refs:kid_status (Results 1 - 3 of 3) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/epoll/ |
H A D | epoll-ltp.c | 143 int kid_status; \ 154 waitpid(kid_pid, &kid_status, 0); \ 155 if (WIFEXITED(kid_status)) { \ 156 (result) = WEXITSTATUS(kid_status); \ 159 if (WIFSIGNALED(kid_status)) \ 161 WTERMSIG(kid_status), strsignal(WTERMSIG(kid_status))); \ 177 int kid_status; \ 184 waitpid(kid_pid, &kid_status, 0); \ 185 if (WIFEXITED(kid_status)) { \ [all...] |
/third_party/ltp/testcases/kernel/syscalls/fork/ |
H A D | fork01.c | 29 int kid_status, term_pid, child_pid, pid, ret; in verify_fork() local 37 term_pid = SAFE_WAITPID(pid, &kid_status, 0); in verify_fork() 39 if (!WIFEXITED(kid_status)) { in verify_fork() 43 ret = WEXITSTATUS(kid_status); in verify_fork()
|
H A D | fork04.c | 273 int kid_status; in main() local 301 wait_status = waitpid(TEST_RETURN, &kid_status, 0); in main() 304 if (kid_status != KIDEXIT << 8) { in main() 307 kid_status); in main()
|
Completed in 1 milliseconds