Explain fork() system call?

Answer Posted / carol

fork() is a unix system call that is used to create a child
process.Whenever fork()is called the image of the parent is
copied to the child process(new)memory location.fork()
return the child process process id to the parent process
and 0 to the child process.

Is This Answer Correct ?    1 Yes 0 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)?

586


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

550


Explain what are the system calls used for process management?

512


What is ipc in unix?

559


What is unix ipc?

551






Which ipc is faster?

565


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

575


Explain how do you execute one program from within another?

529


What are the various schemes available?

544


Please explain fork() system call?

557


Explain the system calls used for process management?

544


Explain a zombie?

621


What is daemon?

532


Which ipc is the fastest in unix?

546


Explain linking across directories?

536