How does fork() know when to return 0? How does fork() know when to return 0? unix unix