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

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

746


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

775


Which ipc is faster?

725


Explain what are the system calls used for process management?

699


What are the various schemes available in ipc?

718


Explain what is the process id for kernel process?

764


What is ipc port?

746


What is daemon?

750


What are two different models of ipc differentiate both?

791


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

728


What is ln(linking)?

788


Which ipc is the fastest in unix?

756


Explain the system calls used for process management?

727


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

694


What are the various schemes available?

706