The text e6de33465a87, as FreeBSD 9.3-RELEASE shipped it.
register a function to be called on exit
atexit(3) on FreeBSD now