The text 045c5e87dcea, as FreeBSD 4.0-RELEASE shipped it.
wait for process termination
wait(2) on FreeBSD now