cpid = pid;
break;
}
if (info.rs_children == 1) {
while ((waitpid(pid, &status, 0) <0) &&
errno == EINTR)
continue;
if (WIFEXITED(status)) {
pstat = status;
} else if (sig_alrm) {
sig_alrm = 0;