Explain fork() system call?

Answer Posted / suresh babu

fork() is the system call to creat the child process to the
existing process.The child process copy the source code of
the parent process and assaign new memory address.After
fork call both parent and child executes the followed
instruction.fork call returns the pid of child process to
parent and returns 0 to child process.

Is This Answer Correct ?    40 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is daemon?

522


Explain the initial process sequence while the system boots up?

542


What are two different models of ipc differentiate both?

568


What is ipc in unix?

553


How to get or set an environment variable from a program?

535






Explain what is the process id for kernel process?

572


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

539


Explain the advantage of executing a process in background?

503


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

543


Explain how do you execute one program from within another?

523


What is unix ipc?

545


What is the full form of ipc?

574


What is fork()?

591


What is ipc port?

553


What are the various schemes available in ipc?

547