The text 9b041d105dc2, as FreeBSD 8.3-RELEASE shipped it.
wait for process termination
wait3(2) on FreeBSD now