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