If I have the following code:
{..
fork();fork()
if (fork()) then {}
..
}
What does happend along the lines? The first fork creates a child, but in the line there is no specification that what happend with the child, so the next line where is it place? In the child? In the parent?
Please explain for me.
Thank You,
Kenguru
{..
fork();fork()
if (fork()) then {}
..
}
What does happend along the lines? The first fork creates a child, but in the line there is no specification that what happend with the child, so the next line where is it place? In the child? In the parent?
Please explain for me.
Thank You,
Kenguru