on_exit(3) on Linux
The text ed4814fc9f49, as Debian 9 (Stretch) shipped it.
register a function to be called at normal process termination
The text ed4814fc9f49, as Debian 9 (Stretch) shipped it.
register a function to be called at normal process termination