The text e1c1ca378843, as FreeBSD 10.2-RELEASE shipped it.
wait for processes to change status
wait6(2) on FreeBSD now