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