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

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

570


What are the various schemes available in ipc?

555


What are the various schemes available?

545


Explain what is the process id for kernel process?

578


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

552






Which ipc is faster?

567


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

586


What is fork()?

599


Explain the system calls used for process management?

544


Explain a zombie?

625


Explain the advantage of executing a process in background?

513


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

549


Explain the initial process sequence while the system boots up?

550


What is ipc in unix?

563


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

545