The text bd07ad2438b6, as FreeBSD 10.2-RELEASE shipped it.
directory operations
closedir(3) on FreeBSD now