write About fork()?

Answer Posted / jagbir singh

fork is a system call used for creat a new process it return
two values ,return 0 for the child or new process and pid of
child or new process to the parent process or calling process.
child process uses same process context,which uses by the
parent process but the pcb(process context board)is differ
to the parent process

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain a zombie?

636


What is ipc port?

582


Explain what are the system calls used for process management?

522


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

559


Explain the advantage of executing a process in background?

522






What is fork()?

606


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

559


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

555


Explain how do you execute one program from within another?

542


What is daemon?

542


Explain what is the process id for kernel process?

587


Explain about daemon?

574


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

585


What is unix ipc?

563


Explain linking across directories?

547