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
Explain about daemon?
What is daemon?
Explain a zombie?
Please explain fork() system call?
What is the condition required for dead lock in unix system?
What is the very first process created by kernel?
What are two different models of ipc differentiate both?
What are the various schemes available in ipc?
Explain linking across directories?
How to write the program on full-duplex communication on bidirectional?
What is ln(linking)?
Explain what are the system calls used for process management?
Max relax-able permission value with out giving write permission to others?
Which ipc is faster?
How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?