The text 779aff7edef6, as FreeBSD 9.3-RELEASE shipped it.
find first or last bit set in a bit string
ffs(3) on FreeBSD now