MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
Operating System
Processes
Q
Which system call can be used by a parent process to determine the termination of child process?
AA. Wait
BB. Exit
CC. Fork
DD. Get
Correct Answer:
A. A. Wait
Explanation:
wait() system call is used by the parent process to determine termination of child process. The parent process uses wait() system call and gets the exit status of the child process as well as the pid of the child process which is terminated.