The text 82fb0bb74b13, as FreeBSD 5.0-RELEASE shipped it.
wait for process termination
wait4(2) on FreeBSD now