Add structure for endchildProcess function and timeOutChildProcess function.
Move loop pointer variable decaration.
Add process to store value of address in structure.
Add missing ';' character.
Fix typo.

timeOut ->
timedOut
Move point to store value of address.
Change to use structure.