WUNTRACED
(setintr && (intty || insource) ? WNOHANG | WUNTRACED : WNOHANG), &ru);
pid = waitpid(-1, &status, (WNOHANG|WUNTRACED));
editpid = waitpid(editpid, (int *)&pstat, WUNTRACED);
WUNTRACED,
WUNTRACED,
} while(waitpid(child, &status, WCONTINUED|WUNTRACED) > 0 &&
if (waitpid(child, &status, WCONTINUED|WUNTRACED) <= 0)
if (waitpid(child, &status, WCONTINUED|WUNTRACED) <= 0)
if (waitpid(child, &status, WCONTINUED|WUNTRACED) <= 0)
if (waitpid(pids[i], &status, WUNTRACED) != pids[i])
if (waitpid(pid, &status, WUNTRACED) != pid)
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
if (((pr->ps_flags & PS_TRACED) || (options & WUNTRACED)) &&
if (SCARG(uap, options) &~ (WUNTRACED|WNOHANG|WCONTINUED))
#define WSTOPPED WUNTRACED
WUNTRACED)) == -1 && errno == EINTR)
while (waitpid(pid, &status, WUNTRACED) == -1 &&
while (waitpid(sshpid, NULL, WUNTRACED) == -1 && errno == EINTR)
switch (pid = waitpid(WAIT_ANY, &status, WNOHANG|WUNTRACED)) {
while ((pid = waitpid(WAIT_ANY, &status, WUNTRACED)) && pid != prn->opid)
while ((pid = waitpid((pid_t)-1, &status, WUNTRACED)) > 0