On 10/19/22 07:05, data pulverizer wrote: > I am calling code from a C API, and would like to know how to catch exit > errors
If you are talking about the exit() Posix function, you can't do anything about that because its purpose is to cause "normal process termination".
Ali