WUNTRACED
wflags = WUNTRACED | WCONTINUED;
pid = waitpid(child_pid, &status, WUNTRACED);
while (waitpid(pid, &status, WUNTRACED) == -1 &&
while (waitpid(sshpid, NULL, WUNTRACED) == -1 && errno == EINTR)
wpid = waitpid(-1, &status, WUNTRACED);
if (waitpid(editpid, &pstat, WUNTRACED) == -1) {
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
if (options &~ (WUNTRACED|WNOHANG|WCONTINUED|WLINUXCLONE|WSTOPPED|
if ((options & (WEXITED | WUNTRACED | WCONTINUED | WTRAPPED)) == 0) {
(options & WUNTRACED) == 0)) {
#define WSTOPPED WUNTRACED
if (waitpid(pid[i], &status, WUNTRACED) < 0)
waitpid(childpid, &stat, WUNTRACED);
while ((pid = waitpid(child_pid, &statusp, WUNTRACED)) != -1) {
wait3(&status, WNOHANG|WUNTRACED, (struct rusage *)0)) > 0) {
wait3(&wstatus, WUNTRACED, 0)) > 0 && wpid != of_pid)