Searched refs:kid_status (Results 1 – 3 of 3) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/epoll/ |
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)) { \ 186 kid_status = WEXITSTATUS(kid_status); \ [all …]
|
/third_party/ltp/testcases/kernel/syscalls/fork/ |
D | fork01.c | 167 int kid_status, wait_status; in main() local 192 wait_status = waitpid(TEST_RETURN, &kid_status, 0); in main() 195 if (kid_status != KIDEXIT << 8) { in main() 198 kid_status); in main()
|
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()
|