The header file <setjmp.h> defines macros and functions for non-local flow of control, commonly used to implement exception handling in a C program.
jmp_buf
longjmp, setjmp