On Sat, 20 Dec 2025, Sad Clouds wrote:
I've never seen anyone using atexit() with shared libraries. The usual mechanisms for these things are _init/_fini or __attribute__((constructor))/__attribute__((destructor)).
Shared libs. should use __cxa_atexit() with a non-NULL `dso' parameter. -RVP
