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()?

Answers were Sorted based on User's Feedback



write About fork()?..

Answer / 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

write About fork()?..

Answer / jagbir singh

fork is a system call used for creat a new process it return
two values ,return 0 for the child or new process and pid of
child or new process to the parent process or calling process.
child process uses same process context,which uses by the
parent process but the pcb(process context board)is differ
to the parent process

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Unix IPC Interview Questions

Explain what is the process id for kernel process?

0 Answers  


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

0 Answers  


what is the process id for kernell process

3 Answers  


Explain how do you execute one program from within another?

0 Answers  


Which ipc is the fastest in unix?

0 Answers  


What is IPC? What are the various schemes available?

5 Answers  


what is the process id for kernel process?

8 Answers   IBM, ITI, Military Engineer Services, Remo, TATA,


What is semaphone?

5 Answers   HCL,


What are the various schemes available?

0 Answers  


Explain a zombie?

0 Answers  


Describe the initial process sequence while the system boots up?

4 Answers  


How can you get or set an environment variable from a program?

2 Answers  


Categories