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