WUNTRACED
wflags = WUNTRACED | WCONTINUED;
int flags = WNOHANG|WUNTRACED;
while ((ret_pid = waitpid(child_pid, &statusp, WUNTRACED)) != -1) {
if (0 >= (pid = waitpid (-1, &status, WNOHANG | WUNTRACED | WCONTINUED)))
|| 0 >= (pid = waitpid (-1, &status, WNOHANG | WUNTRACED)))
while (waitpid(pid, &status, WUNTRACED) == -1 &&
while (waitpid(sshpid, NULL, WUNTRACED) == -1 && errno == EINTR)
if (waitpid(pid, &status, WUNTRACED) == -1) {
if (waitpid(pid, &status, WUNTRACED) == -1) {
if (waitpid(proc_getpid(phdl), &status, WUNTRACED) < 0) {
waitpid(pid, &status, WUNTRACED);
if (waitpid(editpid, &pstat, WUNTRACED) == -1) {
lua_pushflag(L, WUNTRACED);
if (waitpid(pid, &status, WUNTRACED | WEXITED) == -1) {
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
*bsdopts |= WUNTRACED;
if ((options & ~(WUNTRACED | WNOHANG | WCONTINUED | WNOWAIT |
if ((options & (WEXITED | WUNTRACED | WCONTINUED | WTRAPPED)) == 0) {
if ((options & WUNTRACED) != 0 && (p->p_flag & P_STOPPED_SIG) != 0) {
#define WSTOPPED WUNTRACED /* SUS compatibility */
wpid = waitpid(child, &status, WUNTRACED);
REQUIRE_EQ(waitpid(debuggee, &status, WUNTRACED), debuggee);
waitpid(childpid, &stat, WUNTRACED);
while ((pid = waitpid(child_pid, &statusp, WUNTRACED)) != -1) {
wait3(&wstatus, WUNTRACED, 0)) > 0 && wpid != of_pid)