Someone
public text v1 · immutableint main(void) {
printf("My pid is %d\n", getpid());
if (fork() == 0 ) { /* child */
printf("I am %d, my parent is %d\n", getpid(), getppid());
sleep(5);
printf("I am %d, my parent is %d\n", getpid(), getppid());
} else { /* parent */
sleep(1);
printf("I am the parent %d, but I'm leaving now\n", getpid());
}