WTRAPPED
opt6 = options & (WEXITED | WTRAPPED);
#ifdef WTRAPPED
lua_pushflag(L, WTRAPPED);
options |= WEXITED | WTRAPPED;
options |= WEXITED | WTRAPPED;
WEXITED | WTRAPPED | WLINUXCLONE)) != 0)
if ((options & (WEXITED | WUNTRACED | WCONTINUED | WTRAPPED)) == 0) {
if ((options & WTRAPPED) != 0 && (p->p_flag & P_TRACED) != 0) {
error = waitpid(child, &status, WTRAPPED | WEXITED);
error = waitpid(child, &status, WTRAPPED | WEXITED);
if (waitid(P_ALL, 0, &si, WTRAPPED | WEXITED) == -1) {