Catching C errors

Ali Çehreli acehreli at yahoo.com
Wed Oct 19 16:48:10 UTC 2022


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



More information about the Digitalmars-d-learn mailing list