wait revision da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinlib wait,wait2,wait3,wait4,waitpid
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chintst ok_wif sys/types.h sys/wait.h note{ posix wait macros ok }end compile{
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin int ifexited = WIFEXITED(0);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin int exitstatus = WEXITSTATUS(0);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin int ifsignaled = WIFSIGNALED(0);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin int termsig = WTERMSIG(0);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin int ifstopped = WIFSTOPPED(0);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin int stopsig = WSTOPSIG(0);