Home
last modified time | relevance | path

Searched refs:wtstatus (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/pipe/
Dpipe04.c80 int wtstatus; in main() local
174 if (waitpid(c1pid, &wtstatus, 0) != -1) { in main()
175 if (wtstatus != SIGKILL) in main()
178 wtstatus); in main()
183 if (waitpid(c2pid, &wtstatus, 0) != -1) { in main()
184 if (!WIFSIGNALED(wtstatus) || in main()
185 WTERMSIG(wtstatus) != SIGKILL) in main()
188 wtstatus); in main()
Dpipe09.c79 int i, red, wtstatus; in main() local
123 SAFE_WAITPID(cleanup, fork_1, &wtstatus, 0); in main()
124 if (WIFEXITED(wtstatus) && WEXITSTATUS(wtstatus) != 0) { in main()
149 SAFE_WAITPID(cleanup, fork_2, &wtstatus, 0); in main()
150 if (WEXITSTATUS(wtstatus) != 0) { in main()
152 "wait status %d, errno = %d", wtstatus, errno); in main()