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

fork is a system call used for creating child processes of a
parent process.it returns the process id of the created
child process.after that pid(process id ) is checked if it
is negative,it means no child process is created,pid==0
implies the id of the newly created process and pid>0 is the
id of child process given to the parent process.the
statements following fork system call are executed by both
the parent and child process.and one more thing,the parent
and child process have the exact copy of address space but
it exist separately for the two processes.

Is This Answer Correct ?    45 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1052


What are the various schemes available?

1004


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

1069


What is ipc port?

1053


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

1014


Explain what is the process id for kernel process?

1037


What is ln(linking)?

1081


What is the full form of ipc?

1185


Please explain fork() system call?

1041


Which ipc is the fastest in unix?

1048


What is ipc in unix?

1055


How to write the program on full-duplex communication on bidirectional?

1087


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

961


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

1073


Explain linking across directories?

1004