4 ms·
You only need 3 cases if you need to distinguish between the parent and the child. I can imagine designs where the parent and child are both going to exec the s
by tzs 12y ago
You only need 3 cases if you need to distinguish between the parent and the child. I can imagine designs where the parent and child are both going to exec the same program and so all you need to check on the fork is for success or failure.