pthread_atfork(3) on Linux
The text 50093f853a40, as Debian 12 (Bookworm), Debian 11 (Bullseye), Debian 10 (Buster), Debian 9 (Stretch), Debian 8 (Jessie), Debian 7 (Wheezy), Debian 6.0 (Squeeze) shipped it.
register handlers to be called at fork(2) time