[Solved] In which situation we use jmp_buf in C programming [closed]


jmp_buf is a type to hold information to restore calling environment
This is an array type capable of storing the information of a calling environment to be restored later. Refer this

This information is filled by calling macro setjmp and can be restored by calling function longjmp.

An example of the same is shown here .

solved In which situation we use jmp_buf in C programming [closed]