#include #include #include int main(int argc, char **argv) { signal(SIGCHLD, SIG_IGN); if (fork() != 0) sleep(10); /* only parent */ }