waitpid
if (waitpid(pid, &status, 0) == -1) {
if (waitpid(pid, &status, 0) == -1) {
waitpid(zpid, &status, 0);
if (waitpid(cleanup_ctxt->pam_thread, &sshpam_thread_status, WNOHANG)
while (waitpid(cleanup_ctxt->pam_thread,
while (waitpid(thread, &status, 0) == -1) {
while (waitpid(pid, &status, 0) == -1) {
while (waitpid(pid, NULL, 0) == -1 && errno == EINTR)
while (waitpid(pmonitor->m_pid, &status, 0) == -1)
while (waitpid(pmonitor->m_pid, &status, 0) == -1) {
while (waitpid(pid, &status, 0) == -1) {
while ((ret = waitpid(ctx->pid, NULL, 0)) == -1) {
while ((ret = waitpid(pid, &status, 0)) == -1)
pid = waitpid(child_pid, &status, WUNTRACED);
if (waitpid(do_cmd_pid2, &status, 0) == -1)
(void)waitpid(do_cmd_pid, NULL, 0);
(void)waitpid(do_cmd_pid2, NULL, 0);
while (waitpid(pid, &status, WUNTRACED) == -1 &&
(void)waitpid(do_cmd_pid, NULL, 0);
(void)waitpid(do_cmd_pid2, NULL, 0);
while (waitpid(pid, &status, 0) == -1)
while (waitpid(pid, &status, 0) == -1)
if (waitpid(do_cmd_pid, &status, 0) == -1)
while ((pid = waitpid(-1, &status, WNOHANG)) > 0 ||
(void)waitpid(pid, NULL, 0);
while (waitpid(sshpid, NULL, WUNTRACED) == -1 && errno == EINTR)
while (waitpid(sshpid, NULL, 0) == -1 && sshpid > 1)
while ((pid = waitpid(sshpid, NULL, WNOHANG)) == -1 && errno == EINTR)
while (waitpid(pid, &status, 0) == -1)
while (waitpid(pid, &status, 0) == -1) {
while ((pid = waitpid(-1, &status, WNOHANG)) > 0 ||
while (waitpid(pid, &status, 0) == -1)
while (waitpid(pid, NULL, 0) == -1)
while (waitpid(pid, &status, 0) == -1) {
while (waitpid(pid, &status, 0) == -1) {
if ((pid = waitpid(-1, &status, WNOHANG)) == 0)
pid = waitpid(pid, &pstat, 0);
waitpid(pid, &w, 0);
waitpid(pid, &status, 0);
wpid = waitpid(-1, &status, WUNTRACED);
__weak_reference(__waitpid, waitpid);
while (waitpid(pid, &status, 0) == -1) {
__strong_reference(_waitpid, waitpid);
if (waitpid(pid, &pstat, 0) == -1)
if (waitpid(editpid, &pstat, WUNTRACED) == -1) {
waitpid(editpid, &status, 0);
waitpid(pid, NULL, 0);
waitchild = waitpid(child, &status, 0);
while (waitpid(-1, NULL, WNOHANG) > 0);
while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR)
rpid = waitpid(pid, NULL, 0);
while (waitpid(pid, &status, 0) != pid)
while (waitpid(pid1, NULL, 0) <= 0)
while (waitpid(pid2, NULL, 0) <= 0)
while (waitpid(pid, NULL, 0) != pid)
if ((pid = waitpid(-1, &status, 0)) != -1)
if ((pid = waitpid(-1, &status, 0)) != -1)
while (waitpid(-1, NULL, WNOHANG) > 0)
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
while (waitpid(-1, NULL, WNOHANG) > 0)
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
while (waitpid(-1, NULL, WNOHANG) > 0)
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
if (waitpid(preproc, &status, 0) != -1) {
if (waitpid(preproc, &status, 0) == -1)
if (waitpid(preproc, &status, 0) == -1)
if (waitpid(pid, &status, 0) < 0) {
if (waitpid(pid, &status, 0) < 0) {
while (waitpid(child, &status, 0) != child)
while (waitpid(childpid, &status, 0) != childpid) {
pid_t waitpid(pid_t, int *, int);
waitpid(pid, &status, 0);
while (waitpid(pid, NULL, 0) != pid)
if ((retval = waitpid(-1, &status, WNOHANG)) == -1) {
if (waitpid(pid[i], &status, WUNTRACED) < 0)
waitpid(pid[i], &status, 0);
waitpid(pid, &status, 0);
waitpid(pid, &status, 0);
waitpid(pid, &status, 0);
waitpid(pid, &status, 0);
if (waitpid(pid, &status, 0) < 0)
waitpid(pid, &status, 0);
if (waitpid(pid, &status, 0) < 0)
if (waitpid(pid, &status, 0) < 0)
if (waitpid(pid, &status, 0) < 0)
if (r[i] != 0 && waitpid(r[i], &s, 0) == -1)
if (waitpid(p, &status, 0) == -1)
if (waitpid(pid, &status, 0) == -1)
waitpid(pid, &i, 0);
if (waitpid(pid, &status, 0) == -1)
if (r[i] != 0 && waitpid(r[i], &s, 0) == -1)
while (waitpid(pid, &status, 0) != pid)
if (waitpid(pid, NULL, 0) < 0) {
if (waitpid(child_pid, &cstatus, 0) != child_pid)
if (waitpid(child_pid, &cstatus, 0) != child_pid)
waitpid(pid, &status, 0);
while (waitpid(-1, &status, WNOHANG) > 0)
waitpid(youngest, &status, 0);
waitpid(child, NULL, 0);
waitpid(child, NULL, 0);
waitpid(child, NULL, 0);
pid = waitpid(-1, NULL, 0);
pid = waitpid(-1, NULL, 0);
pid = waitpid(-1, NULL, 0);
pid = waitpid(-1, NULL, 0);
pid = waitpid(pid, &pstat, 0);
pid = waitpid(dc, &status, WCONTINUED | WNOHANG);
deadkid = waitpid(-1, &kidstat, WNOHANG);
deadkid = waitpid(-1, &kidstat, WNOHANG);
while (waitpid(work->pid, &status, 0) < 0 &&
while (waitpid(work->pid, &status, 0) < 0 &&
wpid = waitpid(pid, &status, WNOHANG);
while (waitpid(rs.pid_head, &status, 0) < 0)
while ((rpid = waitpid(pid, &status, 0)) != pid) {
if (waitpid(pid, &status, 0) != pid)
pid = waitpid(pid, &status, 0);
if (waitpid(child, &status, 0) == -1)
waitpid(pid, &status, 0);
while ((pid = waitpid((pid_t)-1, &status, WNOHANG)) > 0) {
waitpid(childpid, &stat, WUNTRACED);
if (waitpid(child, &status, 0) == child) {
while (waitpid(pid, &st, 0) == -1)
if (waitpid(pid, &status, 0) == -1 || !WIFEXITED(status) ||
while ((pid = waitpid(child_pid, &statusp, WUNTRACED)) != -1) {
while ((cpid = waitpid(-1, &status, WNOHANG)) != 0) {
while (waitpid(pid, NULL, 0) != pid)
while ((p = waitpid(sshpid, NULL, 0)) != sshpid) {
pid = waitpid(pid, &pstat, 0);
while ((pid = waitpid(-1, status, block ? 0 : WNOHANG)) > 0)
waitpid(pid, &s, 0);
pid = waitpid(-1, &waiter, WNOHANG);
int rv = waitpid(-1, NULL, WNOHANG);
waitpid(pid, &status, 0);
while ((pid = waitpid(WAIT_ANY, &status, WNOHANG)) != 0) {
if (waitpid(pid, &status, 0) < 0) {
wpid = waitpid(pidzip, &zstatus, 0);
waitpid(pid, &status, 0);
waitpid(pid, &stat, WNOHANG);
waitpid(shpid, &status, 0);
while ((wret = waitpid(pid, &stat, 0)) == -1 && errno == EINTR)
waitpid(pid, &i, 0);
waitpid(pid, &i, 0);
if (waitpid(pid, &status, WNOHANG) > 0)
pid = waitpid(pid, &status, 0);