Home
last modified time | relevance | path

Searched refs:_W_INT (Results 1 – 3 of 3) sorted by relevance

/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-waitpid.h36 #define _W_INT(w) (*(int*)&(w)) /* convert union wait to int */ macro
37 #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)
/freebsd/sys/sys/
H A Dwait.h49 #define _W_INT(i) (i) macro
51 #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)
/freebsd/contrib/tcsh/
H A Dsh.proc.c64 # define WCOREDUMP(x) (_W_INT(x) & WCOREFLAG)