The text 8fd787dcfa21, as FreeBSD 9.0-RELEASE shipped it.
wait for process termination
wait(2) on FreeBSD now