> Why don't you just call onexit functions instead of reimplementing it?

> Note that you don't need to call MSVCRT__initialize_onexit_table when

> quick_exit table is declared static.

 

What do you mean? AFAIK the onquickexit functions are different functions than the one registered onexit, no? So I need to have a second function that uses a different table. Or put the shared functionality into a shared function.

 

Regards,

Fabian Maurer