Lines Matching refs:status
1 /* Definitions of status bits for `wait' et al.
28 /* If WIFEXITED(STATUS), the low-order 8 bits of the status. */
29 #define __WEXITSTATUS(status) (((status) & 0xff00) >> 8)
32 #define __WTERMSIG(status) ((status) & 0x7f)
35 #define __WSTOPSIG(status) __WEXITSTATUS(status)
38 #define __WIFEXITED(status) (__WTERMSIG(status) == 0)
42 # define __WIFSIGNALED(status) \
43 (__extension__ ({ int __status = (status); \
46 # define __WIFSIGNALED(status) (!__WIFSTOPPED(status) && !__WIFEXITED(status))
50 #define __WIFSTOPPED(status) (((status) & 0xff) == 0x7f)
53 #define __WCOREDUMP(status) ((status) & __WCOREFLAG)
55 /* Macros for constructing status values. */