Home
last modified time | relevance | path

Searched refs:_WSTATUS (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dwait.d154 extern (D) int _WSTATUS(int status) { return (status & 0x7F); } in version()
157 extern (D) bool WIFEXITED( int status ) { return _WSTATUS(status) == 0; } in version()
160 return _WSTATUS( status ) != _WSTOPPED && _WSTATUS( status ) != 0; in version()
162 extern (D) bool WIFSTOPPED( int status ) { return _WSTATUS( status ) == _WSTOPPED; } in version()
164 extern (D) int WTERMSIG( int status ) { return _WSTATUS( status ); } in version()
170 extern (D) int _WSTATUS(int status) { return (status & 0x7F); } in version()
173 extern (D) bool WIFEXITED( int status ) { return _WSTATUS(status) == 0; } in version()
176 return _WSTATUS( status ) != _WSTOPPED && _WSTATUS( status ) != 0; in version()
178 extern (D) bool WIFSTOPPED( int status ) { return _WSTATUS( status ) == _WSTOPPED; } in version()
180 extern (D) int WTERMSIG( int status ) { return _WSTATUS( status ); } in version()
[all …]
/netbsd-src/sys/sys/
H A Dwait.h58 #define _WSTATUS(x) (_W_INT(x) & 0177) macro
61 #define WIFSTOPPED(x) (_WSTATUS(x) == _WSTOPPED && !WIFCONTINUED(x))
65 #define WTERMSIG(x) (_WSTATUS(x))
66 #define WIFEXITED(x) (_WSTATUS(x) == 0)