Go to the documentation of this file.
22 #ifdef HAVE_SYS_WAIT_H
44 #define WIFEXITED(w) (((w)&0377) == 0)
48 #define WIFSIGNALED(w) (((w)&0377) != 0177 && ((w)&~0377) == 0)
59 #define WIFSTOPPED(w) ((w)&0x40)
62 #define WIFSTOPPED(w) (((w)&0377) == 0177)
67 #define WEXITSTATUS(w) (((w) >> 8) & 0377)
71 #define WTERMSIG(w) ((w) & 0177)
75 #define WSTOPSIG WEXITSTATUS
82 #define WSETEXIT(w,status) ((w) = W_EXITCODE(status,0))
84 #define WSETEXIT(w,status) ((w) = (0 | ((status) << 8)))
90 #define WSETSTOP(w,sig) ((w) = W_STOPCODE(sig))
92 #define WSETSTOP(w,sig) ((w) = (0177 | ((sig) << 8)))
110 #define __WCLONE 0x80000000