Searched refs:waitpid (Results 101 - 125 of 272) sorted by relevance

1234567891011

/freebsd-11-stable/tools/regression/security/proc_to_proc/
H A Dscenario.c409 error = waitpid(pid2, NULL, 0);
417 error = waitpid(pid2, NULL, 0);
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_ptrace_wait.h71 # define TWAIT_FNAME "waitpid"
72 # define TWAIT_WAIT4TYPE(a,b,c,d) waitpid((a),(b),(c))
73 # define TWAIT_GENERIC(a,b,c) waitpid((a),(b),(c))
106 * - TWAIT_GENERIC() (wait, wait2, waitpid, wait3, wait4, wait6)
107 * - TWAIT_WAIT4TYPE() (wait2, waitpid, wait3, wait4)
113 * - TWAIT_HAVE_PID (wait2, waitpid, waitid, wait4, wait6)
114 * - TWAIT_HAVE_STATUS (wait, wait2, waitpid, wait3, wait4, wait6)
116 * - TWAIT_HAVE_RETPID (wait, wait2, waitpid, wait3, wait4, wait6)
H A Dt_pty.c96 if (waitpid(child, &status, 0) == -1)
97 err(EXIT_FAILURE, "waitpid");
/freebsd-11-stable/crypto/openssh/
H A Dscp.c160 waitpid(do_cmd_pid, NULL, 0);
175 while (waitpid(do_cmd_pid, &status, WUNTRACED) == -1 &&
212 while (waitpid(pid, &status, 0) == -1)
214 fatal("do_local_cmd: waitpid: %s", strerror(errno));
337 while (waitpid(pid, &status, 0) == -1)
339 fatal("do_cmd2: waitpid: %s", strerror(errno));
545 if (waitpid(do_cmd_pid, &status, 0) == -1)
H A Dsandbox-systrace.c134 pid = waitpid(child_pid, &status, WUNTRACED);
/freebsd-11-stable/usr.bin/truss/
H A Dsetup.c90 if (waitpid(pid, NULL, 0) < 0)
91 err(1, "unexpect stop in waitpid");
112 if (waitpid(pid, NULL, 0) < 0)
113 err(1, "Unexpect stop in waitpid");
137 if (waitpid(pid, NULL, 0) < 0)
138 err(1, "Unexpected stop in waitpid");
/freebsd-11-stable/lib/libutil/
H A Dpw_util.c272 if (waitpid(pid, &pstat, 0) == -1)
324 if (waitpid(editpid, &pstat, WUNTRACED) == -1) {
365 waitpid(editpid, &status, 0);
/freebsd-11-stable/contrib/netbsd-tests/lib/libutil/
H A Dt_pidfile.c122 ATF_REQUIRE(waitpid(pid, &status, 0) != -1);
/freebsd-11-stable/contrib/gcclibs/libmudflap/
H A Dmf-runtime.h199 #pragma redefine_extname waitpid __mfwrap_waitpid
/freebsd-11-stable/contrib/blacklist/port/
H A Dpopenve.c230 * if already `pclosed', or waitpid returns an error.
268 pid = waitpid(cur->pid, &pstat, 0);
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Drkpty.c289 ret = waitpid(pid, &status, 0);
291 err(1, "waitpid");
H A Dsimple_exec.c57 SE_E_WAITPIDFAILED on waitpid errors
99 while(waitpid(pid, &status, 0) < 0) {
/freebsd-11-stable/tools/regression/priv/
H A Dpriv_sched_rtprio.c319 pid = waitpid(childproc, NULL, 0);
321 warn("waitpid(%d (test), NULL, 0)",
/freebsd-11-stable/tools/regression/sysvmsg/
H A Dmsgtest.c222 if (waitpid(child_pid, &cstatus, 0) != child_pid)
223 err(1, "waitpid");
/freebsd-11-stable/tools/tools/netrate/http/
H A Dhttp.c345 pid = waitpid(statep->hwd[i].hwd_pid, NULL, 0);
/freebsd-11-stable/tools/tools/netrate/httpd/
H A Dhttpd.c305 pid = waitpid(statep->hts[i].hts_pid, NULL, 0);
/freebsd-11-stable/tools/tools/netrate/tcpp/
H A Dtcpp_server.c346 while (waitpid(pid_list[i], NULL, 0) != pid_list[i]);
/freebsd-11-stable/usr.bin/timeout/
H A Dtimeout.c285 while ((cpid = waitpid(-1, &status, WNOHANG)) != 0) {
347 err(EX_OSERR, "waitpid()");
/freebsd-11-stable/usr.bin/xargs/
H A Dxargs.c618 while ((pid = waitpid(-1, status, block ? 0 : WNOHANG)) > 0)
667 err(1, "waitpid");
/freebsd-11-stable/contrib/amd/amd/
H A Dinfo_exec.c326 while (waitpid(p1, 0, 0) < 0)
/freebsd-11-stable/contrib/netbsd-tests/lib/librt/
H A Dt_sem.c169 ATF_REQUIRE_EQ(waitpid(children[i], &status, 0), children[i]);
/freebsd-11-stable/lib/libc/include/
H A Dun-namespace.h219 #undef waitpid macro
H A Dnamespace.h238 #define waitpid _waitpid macro
/freebsd-11-stable/lib/libutil/tests/
H A Dpidfile_test.c228 if (waitpid(pid, &status, 0) == -1)
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_nanosleep.c251 } while (waitpid(pid, &sta, WNOHANG) == 0);

Completed in 275 milliseconds

1234567891011