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

/freebsd-13-stable/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-13-stable/sys/sys/
H A Dwait.h52 #define _W_INT(i) (i) macro
54 #define _WSTATUS(x) (_W_INT(x) & 0177)
57 #define WSTOPSIG(x) (_W_INT(x) >> 8)
61 #define WEXITSTATUS(x) (_W_INT(x) >> 8)
64 #define WCOREDUMP(x) (_W_INT(x) & WCOREFLAG)
/freebsd-13-stable/contrib/tcsh/
H A Dsh.proc.c64 # define WCOREDUMP(x) (_W_INT(x) & WCOREFLAG)

Completed in 112 milliseconds