a) A Negative integer, Zero
b) Zero, A Negative integer
c) Zero, A nonzero integer
d) A nonzero integer, Zero
Answer: c
Explanation: In Unix, the return value of the fork system call is Zero for the child process and Non-zero value for parent process. A fork system call returns the PID of a newly created (child) process to the parent and returns Zero to that newly created (child) process.
Related Posts
The interval from the time of submission of a process to the time of completion is termed as ____________
The processes that are residing in main memory and are ready and waiting to execute are kept on a list called _____________
Which module gives control of the CPU to the process selected by the short-term scheduler?
A process that is based on IPC mechanism which executes on different systems and can communicate with other processes using message based communication, is called ________
The remote method invocation __________
What is the full form of RMI?
To resolve the problem of data representation on different systems RPCs define _____________
Join The Discussion