Searched refs:_W_INT (Results 1 – 3 of 3) sorted by relevance
36 #define _W_INT(w) (*(int*)&(w)) /* convert union wait to int */ macro37 #define WIFEXITED(w) (!((_W_INT(w)) & 0377))38 #define WIFSTOPPED(w) ((_W_INT(w)) & 0100)40 #define WEXITSTATUS(w) (int)(WIFEXITED(w) ? ((_W_INT(w) >> 8) & 0377) : -1)41 #define WTERMSIG(w) (int)(WIFSIGNALED(w) ? (_W_INT(w) & 0177) : -1)43 #define WCOREDUMP(w) ((_W_INT(w)) & WCOREFLAG)
49 #define _W_INT(i) (i) macro51 #define _WSTATUS(x) (_W_INT(x) & 0177)54 #define WSTOPSIG(x) (_W_INT(x) >> 8)58 #define WEXITSTATUS(x) (_W_INT(x) >> 8)61 #define WCOREDUMP(x) (_W_INT(x) & WCOREFLAG)
64 # define WCOREDUMP(x) (_W_INT(x) & WCOREFLAG)