How to preserve `atexit` registered exit handlers through `exec` call in C?

148 views Asked by At

Is there a way to do something similar to atexit, but preserve exit handlers after an exec call?

Or otherwise is there a way to register exit handlers for another process by process id?

0

There are 0 answers