C 语言标准库函数

<setjmp.h> 提供非本地跳转:setjmp 保存程序状态,longjmp 跳回该状态。常用于深层错误恢复。

函数总览

函数作用
setjmp保存当前执行环境
longjmp跳回保存的环境