On 5/9/19 8:39 AM, Florian Weimer wrote: > There can also be multiple such handlers. So it's not true that an > atexit handler always runs last.
If a program is complex enough to have several atexit handlers ... then 'man atexit' applies: "Functions so registered are called in the reverse order of their registration [...]" Have a nice day, Berny