Home
last modified time | relevance | path

Searched refs:waitpid (Results 151 – 175 of 487) sorted by relevance

12345678910>>...20

/freebsd/tools/test/stress2/misc/
H A Ddup.sh117 if (waitpid(pid[j], NULL, 0) != pid[j])
H A Dsendfile10.sh246 if (waitpid(pid, NULL, 0) != pid)
290 if (waitpid(pids[i], &status, 0) == -1)
H A Dsyzkaller28.sh61 while (waitpid(-1, status, 0) != pid) {
235 if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid)
H A Dsyzkaller4.sh48 while (waitpid(-1, status, 0) != pid) {
230 if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid)
H A Dsyzkaller61.sh90 while (waitpid(-1, status, 0) != pid) {
264 if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid)
H A Dsem.sh139 waitpid(pid, &status, 0);
H A Drename.sh122 if (waitpid(p, &status, 0) == -1)
H A Dmkfifo3.sh131 if (waitpid(pid, &status, 0) == -1)
H A Dmmap27.sh120 if (waitpid(pids[i], NULL, 0) != pids[i])
H A Dreaper.sh77 if (waitpid(pids[i], NULL, 0) != pids[i])
H A Dsyzkaller64.sh83 while (waitpid(-1, status, 0) != pid) {
283 if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid)
/freebsd/tools/regression/security/proc_to_proc/
H A Dscenario.c407 error = waitpid(pid2, NULL, 0); in enact_scenario()
415 error = waitpid(pid2, NULL, 0); in enact_scenario()
/freebsd/tests/sys/vm/
H A Dmlock_test.c66 ATF_REQUIRE(waitpid(pid, &status, 0) == pid); in test_wired_copy_on_write()
77 ATF_REQUIRE(waitpid(pid, &status, 0) == pid); in test_wired_copy_on_write()
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_sigaction.c73 (void)waitpid(pid, &status, 0); in wait_and_check_child()
H A Dt_pipe.c152 RL(waitpid(pid, &st, 0)); in ATF_TC_BODY()
/freebsd/lib/libveriexec/
H A Dexec_script.c155 c = waitpid(child, &s, 0); in main()
/freebsd/tools/regression/capsicum/syscalls/
H A Dcap_getmode.c81 if (waitpid(pid, NULL, 0) == -1) in main()
/freebsd/contrib/netbsd-tests/kernel/kqueue/
H A Dt_proc1.c147 (void)waitpid(pid, &status, 0); in ATF_TC_BODY()
/freebsd/tools/regression/sigqueue/sigqtest2/
H A Dsigqtest2.c26 ret = waitpid(si->si_pid, &status, 0); in job_handler()
/freebsd/sys/sys/
H A Dwait.h158 pid_t waitpid(pid_t, int *, int);
/freebsd/lib/libutil/
H A Dpw_util.c267 if (waitpid(pid, &pstat, 0) == -1) in pw_mkdb()
320 if (waitpid(editpid, &pstat, WUNTRACED) == -1) { in pw_edit()
363 waitpid(editpid, &status, 0); in pw_fini()
/freebsd/contrib/capsicum-test/
H A Dlinux.cc243 EXPECT_EQ(child, waitpid(child, &status, 0)); in TEST()
504 EXPECT_EQ(child, waitpid(child, &status, 0)); in TEST()
611 EXPECT_EQ(child, waitpid(child, &status, 0)); in TEST()
802 EXPECT_EQ(firstborn, waitpid(firstborn, &status, __WALL)); in TEST()
825 EXPECT_EQ(child, waitpid(child, &status, WNOHANG)); in TEST()
902 EXPECT_EQ(child, waitpid(child, &status, WNOHANG)); in TEST()
954 EXPECT_EQ(child, waitpid(child, &status, WNOHANG)); in TEST()
1107 EXPECT_EQ(child, waitpid(child, &status, 0)); in TEST()
1216 EXPECT_EQ(child, waitpid(child, &status, 0)); in TEST()
/freebsd/crypto/openssh/
H A Dscp.c197 (void)waitpid(do_cmd_pid, NULL, 0); in killchild()
201 (void)waitpid(do_cmd_pid2, NULL, 0); in killchild()
216 while (waitpid(pid, &status, WUNTRACED) == -1 && in suspone()
260 while (waitpid(pid, &status, 0) == -1) in do_local_cmd()
422 while (waitpid(pid, &status, 0) == -1) in do_cmd2()
710 if (waitpid(do_cmd_pid, &status, 0) == -1) in main()
1118 if (waitpid(do_cmd_pid2, &status, 0) == -1) in toremote()
2271 (void)waitpid(do_cmd_pid, NULL, 0);
2273 (void)waitpid(do_cmd_pid2, NULL, 0);
/freebsd/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_file.c133 (void)waitpid(pid, &status, 0); in ATF_TC_BODY()
/freebsd/contrib/netbsd-tests/kernel/kqueue/write/
H A Dt_ttypty.c100 (void)waitpid(child, &status, 0); in h_check()

12345678910>>...20