Symbol: waitpid
bin/mv/mv.c
398
if (waitpid(pid, &status, 0) == -1) {
bin/mv/mv.c
424
if (waitpid(pid, &status, 0) == -1) {
bin/pax/ar_io.c
342
waitpid(zpid, &status, 0);
crypto/openssh/auth-pam.c
159
if (waitpid(cleanup_ctxt->pam_thread, &sshpam_thread_status, WNOHANG)
crypto/openssh/auth-pam.c
163
while (waitpid(cleanup_ctxt->pam_thread,
crypto/openssh/auth-pam.c
229
while (waitpid(thread, &status, 0) == -1) {
crypto/openssh/misc.c
2202
while (waitpid(pid, &status, 0) == -1) {
crypto/openssh/misc.c
2889
while (waitpid(pid, NULL, 0) == -1 && errno == EINTR)
crypto/openssh/monitor.c
1665
while (waitpid(pmonitor->m_pid, &status, 0) == -1)
crypto/openssh/monitor_wrap.c
131
while (waitpid(pmonitor->m_pid, &status, 0) == -1) {
crypto/openssh/readconf.c
575
while (waitpid(pid, &status, 0) == -1) {
crypto/openssh/readpass.c
325
while ((ret = waitpid(ctx->pid, NULL, 0)) == -1) {
crypto/openssh/readpass.c
98
while ((ret = waitpid(pid, &status, 0)) == -1)
crypto/openssh/sandbox-systrace.c
134
pid = waitpid(child_pid, &status, WUNTRACED);
crypto/openssh/scp.c
1120
if (waitpid(do_cmd_pid2, &status, 0) == -1)
crypto/openssh/scp.c
197
(void)waitpid(do_cmd_pid, NULL, 0);
crypto/openssh/scp.c
201
(void)waitpid(do_cmd_pid2, NULL, 0);
crypto/openssh/scp.c
216
while (waitpid(pid, &status, WUNTRACED) == -1 &&
crypto/openssh/scp.c
2273
(void)waitpid(do_cmd_pid, NULL, 0);
crypto/openssh/scp.c
2275
(void)waitpid(do_cmd_pid2, NULL, 0);
crypto/openssh/scp.c
262
while (waitpid(pid, &status, 0) == -1)
crypto/openssh/scp.c
424
while (waitpid(pid, &status, 0) == -1)
crypto/openssh/scp.c
712
if (waitpid(do_cmd_pid, &status, 0) == -1)
crypto/openssh/serverloop.c
310
while ((pid = waitpid(-1, &status, WNOHANG)) > 0 ||
crypto/openssh/sftp.c
228
(void)waitpid(pid, NULL, 0);
crypto/openssh/sftp.c
240
while (waitpid(sshpid, NULL, WUNTRACED) == -1 && errno == EINTR)
crypto/openssh/sftp.c
2694
while (waitpid(sshpid, NULL, 0) == -1 && sshpid > 1)
crypto/openssh/sftp.c
272
while ((pid = waitpid(sshpid, NULL, WNOHANG)) == -1 && errno == EINTR)
crypto/openssh/sftp.c
352
while (waitpid(pid, &status, 0) == -1)
crypto/openssh/ssh-sk-client.c
119
while (waitpid(pid, &status, 0) == -1) {
crypto/openssh/ssh.c
2468
while ((pid = waitpid(-1, &status, WNOHANG)) > 0 ||
crypto/openssh/sshconnect.c
1719
while (waitpid(pid, &status, 0) == -1)
crypto/openssh/sshconnect.c
181
while (waitpid(pid, NULL, 0) == -1)
crypto/openssh/sshconnect2.c
2090
while (waitpid(pid, &status, 0) == -1) {
crypto/openssh/sshd-session.c
353
while (waitpid(pid, &status, 0) == -1) {
crypto/openssh/sshd.c
415
if ((pid = waitpid(-1, &status, WNOHANG)) == 0)
games/cribbage/instr.c
75
pid = waitpid(pid, &pstat, 0);
games/rogue/machdep.c
519
waitpid(pid, &w, 0);
games/wump/wump.c
750
waitpid(pid, &status, 0);
initrd/oinit/oinit.c
131
wpid = waitpid(-1, &status, WUNTRACED);
lib/libc/gen/waitpid.c
49
__weak_reference(__waitpid, waitpid);
lib/libpam/modules/pam_exec/pam_exec.c
230
while (waitpid(pid, &status, 0) == -1) {
lib/libthread_xu/thread/thr_syscalls.c
727
__strong_reference(_waitpid, waitpid);
lib/libutil/pw_util.c
267
if (waitpid(pid, &pstat, 0) == -1)
lib/libutil/pw_util.c
319
if (waitpid(editpid, &pstat, WUNTRACED) == -1) {
lib/libutil/pw_util.c
360
waitpid(editpid, &status, 0);
libexec/atrun/atrun.c
336
waitpid(pid, NULL, 0);
libexec/dma/local.c
91
waitchild = waitpid(child, &status, 0);
libexec/ftpd/ftpd.c
3236
while (waitpid(-1, NULL, WNOHANG) > 0);
libexec/ftpd/popen.c
183
while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR)
sbin/dhclient/dhclient.c
384
rpid = waitpid(pid, NULL, 0);
sbin/hammer/cmd_cleanup.c
1300
while (waitpid(pid, &status, 0) != pid)
sbin/hammer/cmd_mirror.c
1257
while (waitpid(pid1, NULL, 0) <= 0)
sbin/hammer/cmd_mirror.c
1259
while (waitpid(pid2, NULL, 0) <= 0)
sbin/hammer2/cmd_service.c
1029
while (waitpid(pid, NULL, 0) != pid)
sbin/init/init.c
1399
if ((pid = waitpid(-1, &status, 0)) != -1)
sbin/init/init.c
1556
if ((pid = waitpid(-1, &status, 0)) != -1)
sbin/init/init.c
1643
while (waitpid(-1, NULL, WNOHANG) > 0)
sbin/init/init.c
1661
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
sbin/init/init.c
740
while (waitpid(-1, NULL, WNOHANG) > 0)
sbin/init/init.c
747
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
sbin/init/init.c
821
while (waitpid(-1, NULL, WNOHANG) > 0)
sbin/init/init.c
832
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
sbin/ip6fw/ip6fw.c
1385
if (waitpid(preproc, &status, 0) != -1) {
sbin/ipfw/ipfw2.c
4260
if (waitpid(preproc, &status, 0) == -1)
sbin/ipfw3/ipfw3.c
1211
if (waitpid(preproc, &status, 0) == -1)
sbin/mount/mount.c
476
if (waitpid(pid, &status, 0) < 0) {
sbin/mount_ufs/mount.c
433
if (waitpid(pid, &status, 0) < 0) {
sbin/newfs/mkfs.c
183
while (waitpid(child, &status, 0) != child)
sys/platform/vkernel64/platform/init.c
224
while (waitpid(childpid, &status, 0) != childpid) {
sys/sys/wait.h
151
pid_t waitpid(pid_t, int *, int);
test/debug/buserr.c
48
waitpid(pid, &status, 0);
test/debug/umtx.c
109
while (waitpid(pid, NULL, 0) != pid)
test/interbench/interbench.c
1438
if ((retval = waitpid(-1, &status, WNOHANG)) == -1) {
test/lockf/lockf.c
175
if (waitpid(pid[i], &status, WUNTRACED) < 0)
test/lockf/lockf.c
189
waitpid(pid[i], &status, 0);
test/socket/accept/block/accept_block.c
131
waitpid(pid, &status, 0);
test/socket/accept/nonblock/accept_nblock.c
131
waitpid(pid, &status, 0);
test/socket/accept4/block/accept4_block.c
144
waitpid(pid, &status, 0);
test/socket/accept4/cloexec/accept4_cloexec.c
103
waitpid(pid, &status, 0);
test/socket/accept4/cloexec/accept4_cloexec.c
118
if (waitpid(pid, &status, 0) < 0)
test/socket/accept4/nonblock/accept4_nblock.c
119
waitpid(pid, &status, 0);
test/socket/recvmsg/cloexec/recvmsg_cloexec.c
50
if (waitpid(pid, &status, 0) < 0)
test/socket/socket/cloexec/socket_cloexec.c
38
if (waitpid(pid, &status, 0) < 0)
test/socket/socketpair/cloexec/sockpair_cloexec.c
36
if (waitpid(pid, &status, 0) < 0)
test/stress/stress2/lib/main.c
136
if (r[i] != 0 && waitpid(r[i], &s, 0) == -1)
test/stress/stress2/lib/main.c
169
if (waitpid(p, &status, 0) == -1)
test/stress/stress2/testcases/badcode/badcode.c
112
if (waitpid(pid, &status, 0) == -1)
test/stress/stress2/testcases/lockf/lockf.c
130
waitpid(pid, &i, 0);
test/stress/stress2/testcases/mkfifo/mkfifo.c
137
if (waitpid(pid, &status, 0) == -1)
test/stress/stress2/testcases/run/run.c
115
if (r[i] != 0 && waitpid(r[i], &s, 0) == -1)
test/sysperf/exec1.c
36
while (waitpid(pid, &status, 0) != pid)
test/testcases/posixipc/common/common.c
229
if (waitpid(pid, NULL, 0) < 0) {
test/testcases/sysv/sysvmsg/msgtest.c
227
if (waitpid(child_pid, &cstatus, 0) != child_pid)
test/testcases/sysv/sysvshm/shmtest.c
198
if (waitpid(child_pid, &cstatus, 0) != child_pid)
test/unix/unconn_dgram/unconn_dgram.c
64
waitpid(pid, &status, 0);
tools/regression/lib/libc/gen/test-wordexp.c
51
while (waitpid(-1, &status, WNOHANG) > 0)
tools/regression/p1003_1b/yield.c
170
waitpid(youngest, &status, 0);
tools/regression/priv/test.c
106
waitpid(child, NULL, 0);
tools/regression/priv/test.c
149
waitpid(child, NULL, 0);
tools/regression/priv/test.c
75
waitpid(child, NULL, 0);
tools/tools/netrate/accept_connect/connect_client/connect_client.c
100
pid = waitpid(-1, NULL, 0);
tools/tools/netrate/accept_connect/kq_connect_client/kq_connect_client.c
147
pid = waitpid(-1, NULL, 0);
tools/tools/netrate/netperf/tcp_cc/tcp_cc.c
115
pid = waitpid(-1, NULL, 0);
tools/tools/netrate/netperf/tcp_stream/tcp_stream.c
240
pid = waitpid(-1, NULL, 0);
usr.bin/apply/apply.c
248
pid = waitpid(pid, &pstat, 0);
usr.bin/bc/bc.y
1070
pid = waitpid(dc, &status, WCONTINUED | WNOHANG);
usr.bin/calendar/calendar.c
377
deadkid = waitpid(-1, &kidstat, WNOHANG);
usr.bin/calendar/calendar.c
411
deadkid = waitpid(-1, &kidstat, WNOHANG);
usr.bin/dsynth/build.c
1612
while (waitpid(work->pid, &status, 0) < 0 &&
usr.bin/dsynth/build.c
1678
while (waitpid(work->pid, &status, 0) < 0 &&
usr.bin/dsynth/build.c
2745
wpid = waitpid(pid, &status, WNOHANG);
usr.bin/dsynth/build.c
2895
while (waitpid(rs.pid_head, &status, 0) < 0)
usr.bin/dsynth/subs.c
622
while ((rpid = waitpid(pid, &status, 0)) != pid) {
usr.bin/evtranalyze/plotter.c
270
if (waitpid(pid, &status, 0) != pid)
usr.bin/find/function.c
604
pid = waitpid(pid, &status, 0);
usr.bin/lockf/lockf.c
145
if (waitpid(child, &status, 0) == -1)
usr.bin/login/login.c
538
waitpid(pid, &status, 0);
usr.bin/mail/popen.c
314
while ((pid = waitpid((pid_t)-1, &status, WNOHANG)) > 0) {
usr.bin/rpcgen/rpc_scan.c
161
waitpid(childpid, &stat, WUNTRACED);
usr.bin/script/script.c
277
if (waitpid(child, &status, 0) == child) {
usr.bin/sdiff/edit.c
62
while (waitpid(pid, &st, 0) == -1)
usr.bin/sdiff/sdiff.c
413
if (waitpid(pid, &status, 0) == -1 || !WIFEXITED(status) ||
usr.bin/su/su.c
443
while ((pid = waitpid(child_pid, &statusp, WUNTRACED)) != -1) {
usr.bin/timeout/timeout.c
394
while ((cpid = waitpid(-1, &status, WNOHANG)) != 0) {
usr.bin/undo/undo.c
700
while (waitpid(pid, NULL, 0) != pid)
usr.bin/vknet/vknet.c
153
while ((p = waitpid(sshpid, NULL, 0)) != sshpid) {
usr.bin/window/wwterminfo.c
108
pid = waitpid(pid, &pstat, 0);
usr.bin/xargs/xargs.c
651
while ((pid = waitpid(-1, status, block ? 0 : WNOHANG)) > 0)
usr.sbin/authpf/authpf.c
695
waitpid(pid, &s, 0);
usr.sbin/cron/cron/cron.c
381
pid = waitpid(-1, &waiter, WNOHANG);
usr.sbin/daemon/daemon.c
596
int rv = waitpid(-1, NULL, WNOHANG);
usr.sbin/edquota/edquota.c
457
waitpid(pid, &status, 0);
usr.sbin/hotplugd/hotplugd.c
216
while ((pid = waitpid(WAIT_ANY, &status, WNOHANG)) != 0) {
usr.sbin/lpr/lpd/lpd.c
245
if (waitpid(pid, &status, 0) < 0) {
usr.sbin/newsyslog/newsyslog.c
2116
wpid = waitpid(pidzip, &zstatus, 0);
usr.sbin/ppp/bundle.c
1802
waitpid(pid, &status, 0);
usr.sbin/ppp/chat.c
766
waitpid(pid, &stat, WNOHANG);
usr.sbin/ppp/command.c
687
waitpid(shpid, &status, 0);
usr.sbin/ppp/exec.c
198
while ((wret = waitpid(pid, &stat, 0)) == -1 && errno == EINTR)
usr.sbin/pw/pw.c
251
waitpid(pid, &i, 0);
usr.sbin/pw/pwupd.c
98
waitpid(pid, &i, 0);
usr.sbin/syslogd/syslogd.c
2560
if (waitpid(pid, &status, WNOHANG) > 0)
usr.sbin/uefisign/uefisign.c
327
pid = waitpid(pid, &status, 0);