_W_INT
#define WIFEXITED(w) (!((_W_INT(w)) & 0377))
#define WIFSTOPPED(w) ((_W_INT(w)) & 0100)
#define WEXITSTATUS(w) (int)(WIFEXITED(w) ? ((_W_INT(w) >> 8) & 0377) : -1)
#define WTERMSIG(w) (int)(WIFSIGNALED(w) ? (_W_INT(w) & 0177) : -1)
#define WCOREDUMP(w) ((_W_INT(w)) & WCOREFLAG)
#define _WSTATUS(x) (_W_INT(x) & 0177)
#define WSTOPSIG(x) (_W_INT(x) >> 8)
#define WEXITSTATUS(x) (_W_INT(x) >> 8)
#define WCOREDUMP(x) (_W_INT(x) & WCOREFLAG)