Searched refs:wait_status (Results 1 – 5 of 5) sorted by relevance
/external/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() 194 if (wait_status == TEST_RETURN) { in main() 204 wait_status, errno, in main()
|
D | fork04.c | 278 int wait_status; in main() local 305 wait_status = waitpid(TEST_RETURN, &kid_status, 0); in main() 307 if (wait_status == TEST_RETURN) { in main() 317 wait_status, errno, in main()
|
/external/ltp/testcases/kernel/mem/mtest05/ |
D | mmstress.c | 653 int wait_status = 0; /* if status is not NULL store status information */ in test5() local 674 wait(&wait_status); in test5() 710 int wait_status; /* if status is not NULL store status information */ in test6() local 744 wait(&wait_status); in test6() 751 if (WEXITSTATUS(wait_status) != 0) in test6()
|
/external/openssh/ |
D | serverloop.c | 564 int wait_status; /* Status returned by wait(). */ in server_loop() local 760 while ((wait_pid = waitpid(-1, &wait_status, 0)) < 0) in server_loop() 768 if (WIFEXITED(wait_status)) { in server_loop() 770 debug("Command exited with status %d.", WEXITSTATUS(wait_status)); in server_loop() 772 packet_put_int(WEXITSTATUS(wait_status)); in server_loop() 792 if (WIFSIGNALED(wait_status)) in server_loop() 794 WTERMSIG(wait_status)); in server_loop() 797 packet_disconnect("wait returned status %04x.", wait_status); in server_loop()
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile02.c | 101 int wait_status; in do_sendfile() local 149 wait_status = waitpid(-1, &wait_stat, 0); in do_sendfile()
|