#include #include int main() { pid_t pid = fork(); if (pid < 0) { perror("fork failed"); return 1; } if (pid != 0) { sleep(30); } return 0; }