The text fc13f0dfe64e, as FreeBSD 8.2-RELEASE shipped it.
wait for process termination
waitpid(2) on FreeBSD now