4 int wifexited(int status) {
5 return WIFEXITED(status);
8 int wexitstatus(int status) {
9 return WEXITSTATUS(status);
12 int wifsignaled(int status) {
13 return WIFSIGNALED(status);
16 int wtermsig(int status) {
17 return WTERMSIG(status);
20 int wifstopped(int status) {
21 return WIFSTOPPED(status);
24 int wstopsig(int status) {
25 return WSTOPSIG(status);
28 /* FIXME: POSIX also defines WIFCONTINUED, but that appears not to
29 exist on at least Linux... */