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...

write About fork()?

Answer Posted / msalve

Fork system call is used to create a new process. Fork is
called onces and returns twice.It will return 0 to the newly
created process (child process) and process id of child to
the calling process(parent process).

The child process gets copy of parents data, stack and heap
segement.The code segement is common for both.Both the
processes will resume execution from the command next to
fork.Scheduler decide which process to run first.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the initial process sequence while the system boots up?

911


Which ipc is the fastest in unix?

920


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

869


What is ipc in unix?

937


What are the various schemes available in ipc?

908


What is unix ipc?

936


Please describe the initial process sequence while the system boots up?

962


What are two different models of ipc differentiate both?

981


Explain what are the system calls used for process management?

901


What is the very first process created by kernel?

1016


What is fork()?

982


What is i-node numbers?

1073


Explain the system calls used for process management?

910


Explain linking across directories?

894


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

910