Hi I'm in the very early stages of my OS course...We are fresh on the topic of the fork(). So, the if statement code:

// if((childpid = fork()) == 0)

does what?

As a guess, it creates childpid and checks to see if it is a child...