static int wait_for_child_process(void) { int status = 0; ignore_ctrl_c(); wait(&status); allow_ctrl_c(); return status; }
static void wait_for_child_process() { int status; ignore_ctrl_c(); wait(&status); allow_ctrl_c(); }