1lib wait,wait2,wait3,wait4,waitpid 2tst ok_wif sys/types.h sys/wait.h note{ posix wait macros ok }end compile{ 3 int ifexited = WIFEXITED(0); 4 int exitstatus = WEXITSTATUS(0); 5 int ifsignaled = WIFSIGNALED(0); 6 int termsig = WTERMSIG(0); 7 int ifstopped = WIFSTOPPED(0); 8 int stopsig = WSTOPSIG(0); 9}end 10