Home
last modified time | relevance | path

Searched refs:childStatus (Results 1 – 6 of 6) sorted by relevance

/haiku/src/tests/system/kernel/
H A Dwait_test_1.c21 int childStatus; in main() local
22 pid_t pid = wait(&childStatus); in main()
25 pid = waitpid(-1, &childStatus, 0); in main()
28 pid = waitpid(0, &childStatus, 0); in main()
31 pid = waitpid(getpgrp(), &childStatus, 0); in main()
H A Dwait_test_2.cpp55 int childStatus = -1; in main() local
57 pid = waitpid(0, &childStatus, 0); in main()
59 pid = wait(&childStatus); in main()
61 pid, strerror(errno), childStatus); in main()
H A Dwait_test_4.cpp55 int childStatus = -1; in main() local
57 pid = waitpid(0, &childStatus, 0); in main()
59 pid = wait(&childStatus); in main()
61 pid, strerror(errno), childStatus); in main()
H A Dwait_test_3.cpp54 int childStatus = -1; in main() local
55 pid = waitpid(0, &childStatus, 0); in main()
56 printf("waitpid() returned %ld (%s), child status %d\n", pid, strerror(errno), childStatus); in main()
/haiku/src/tests/libs/bsd/
H A Dwait4_test.cpp59 int childStatus = -1; in main() local
60 pid = wait4(-1, &childStatus, 0, &usage); in main()
63 pid, strerror(errno), childStatus, usage.ru_stime.tv_sec, in main()
/haiku/src/bin/debug/time_stats/
H A Dtiming_analysis.cpp74 int childStatus; in run_child() local
75 while (wait(&childStatus) < 0); in run_child()