The text 1286f24039a3, as FreeBSD 7.2-RELEASE shipped it.
wait for process termination
wait(2) on FreeBSD now