I know that fork() returns differently for the child and parent processes, but I\'m unable to find information on how this happens. How does the child process receive the re
The process appears identical from both sides, except for the differing return value (that's why the return value is there, so that the two processes can tell the difference at all!). As far as the son process is concerned, it will have just been returned to from system_call in the same manner that the parent process was returned to.