Reference

xpaatexit(3) on Linux

The text 7dcef5f39d59, as Debian 7 (Wheezy) shipped it.

install exit handler

xpaatexit(3) on Linux now