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

how to create tree of processes. one parent and 3 childs.

Answer Posted / vijay kumar reddy

pid= fork();
if(pid>0)
{
fork();
}
else
printf();

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the system calls used for process management?

911


Explain the advantage of executing a process in background?

870


Explain the initial process sequence while the system boots up?

912


What is ipc port?

932


Please explain fork() system call?

931


What is daemon?

966


What is ipc in unix?

938


Explain a zombie?

997


What are the various schemes available in ipc?

909


What are the various schemes available?

893


What is fork()?

982


What is unix ipc?

938


Which ipc is the fastest in unix?

921


Explain what are the system calls used for process management?

902


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

869