Fix typo.
Change type of function.

bool -> void
Add missing parameter.
Add callback function of SIGCHLD.
Change value of timeout.
Change value of assertion.