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 about daemon?

768


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

771


What is ipc port?

740


What are the various schemes available?

700


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

690


Explain the system calls used for process management?

718


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

765


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

727


Explain the initial process sequence while the system boots up?

710


What is the very first process created by kernel?

814


What is the full form of ipc?

847


Explain what are the system calls used for process management?

697


Explain what is the process id for kernel process?

755


What is i-node numbers?

813


Explain how do you execute one program from within another?

711