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