write About fork()?
Answers were Sorted based on User's Feedback
Answer / msalve
Fork system call is used to create a new process. Fork is
called onces and returns twice.It will return 0 to the newly
created process (child process) and process id of child to
the calling process(parent process).
The child process gets copy of parents data, stack and heap
segement.The code segement is common for both.Both the
processes will resume execution from the command next to
fork.Scheduler decide which process to run first.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / 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 |
Which ipc is faster?
What is fork()?
What are the system calls used for process management?
Linking across directories?
Explain what is the process id for kernel process?
Explain fork() system call?
What is ln(linking)?
Describe the initial process sequence while the system boots up?
Please explain fork() system call?
what is the process id for kernel process?
8 Answers IBM, ITI, Military Engineer Services, Remo, TATA,
Explain about daemon?
Explain how do you execute one program from within another?