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

What is unix ipc?

1067


Explain what is the process id for kernel process?

1040


How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?

1053


Explain what are the system calls used for process management?

1004


What is the full form of ipc?

1185


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

1074


What is fork()?

1097


Explain the initial process sequence while the system boots up?

1016


What is ipc in unix?

1059


Explain the system calls used for process management?

1025


Max relax-able permission value with out giving write permission to others?

1073


What is i-node numbers?

1219


Explain about daemon?

1071


How to get or set an environment variable from a program?

1022


What is ln(linking)?

1084