阅读背景:

如何在Linux中捕捉分割错误?

来源:互联网 

I need to catch segmentation fault in third party library cleanup operations. This happens sometimes just before my program exits, and I cannot fix the real reason of this. In Windows programming I could do this with __try - __catch. Is there cross-platform or platform-specific way to do the same? I need this in Linux, gcc.I need to catch segmentation fault in third par




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: