Help for this page
Select Code to Download
Select
or
download this
waitpid(-1, &status, 0);