gotchld
volatile sig_atomic_t gotchld;
gotchld = 1;
if (gotchld) {
gotchld = 0;
setsignal(SIGCHLD, gotchld);
void gotchld(int);