Answer Posted / rajkumar adepu
fork() system call creates a process exactly the same as parent process,called as child process of that parent process.It has same attributes,properties of parent process.
Both processes(parent and child) start their execution right after the system call fork().
Since both processes have identical but separate address spaces, those variables initialized before the fork() call have the same values in both address spaces. Since every process has its own address space, any modifications will be independent of the others. In other words, if the parent changes the value of its variable, the modification will only affect the variable in the parent process's address space. Other address spaces created by fork() calls will not be affected even though they have identical variable names.
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
Please explain fork() system call?
What are the various schemes available in ipc?
Explain about daemon?
Explain what are the system calls used for process management?
How to write the program on full-duplex communication on bidirectional?
What is ipc in unix?
What is ln(linking)?
Tell me set-user-id is related to (in unix)?
Explain the advantage of executing a process in background?
Explain what is the process id for kernel process?
How to get or set an environment variable from a program?
What is the very first process created by kernel?
Which ipc is the fastest in unix?
Explain a zombie?
What is unix ipc?