Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain fork() system call?

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 Help Members By Posting Answers For Below Questions

What are two different models of ipc differentiate both?

1061


What is i-node numbers?

1157


Explain what is the process id for kernel process?

997


Explain the advantage of executing a process in background?

935


Explain what are the system calls used for process management?

958


Explain linking across directories?

958


What is ipc in unix?

1010


What is the very first process created by kernel?

1068


What is the full form of ipc?

1136


What is the condition required for dead lock in unix system?

963


Tell me set-user-id is related to (in unix)?

916


What is fork()?

1037


Explain the initial process sequence while the system boots up?

966


Explain how do you execute one program from within another?

972


What is unix ipc?

1015