Explain fork() system call?

Answer Posted / deep

fork() system call are used in unix for making child process.
whenever parent procces call fork()system call it create
child process and copy the sorce code of parent process in
child process and return the p_id of child process and
creating child process return itself is zero.

Is This Answer Correct ?    19 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various schemes available in ipc?

699


What is unix ipc?

729


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

754


What is ipc port?

730


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

717






What is i-node numbers?

801


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

684


Which ipc is the fastest in unix?

735


Which ipc is faster?

710


Please explain fork() system call?

720


Explain what is the process id for kernel process?

748


How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?

749


What is the full form of ipc?

838


What is ln(linking)?

761


Explain the advantage of executing a process in background?

685