19. Which system call can be used by a parent process to determine the termination of child process?

a) wait
b) exit
c) fork
d) get

Answer: a
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.

Leave a Reply

Your email address will not be published.