The text 58fcd8c371c5, as FreeBSD 4.0-RELEASE shipped it.
directory operations
dirfd(3) on FreeBSD now