Question 10
Select all the incorrect statements regarding the wait function.
wait function runs an infinite loop until all the child processes of the parent are terminated.
wait function returns when it finds a terminated child process.
wait function returns the exit status of the child to the parent.
wait function returns the pid of the terminated child.