# std::jmp_buf

From cppreference.com
< cpp‎ | utility‎ | program

Defined in header `<csetjmp>` |  |
typedef /* unspecified */ jmp_buf; |  |

The `std::jmp_buf` type is an array type suitable for storing information to restore a calling environment. The stored information is sufficient to restore execution at the correct block of the program and invocation of that block. The state of floating-point status flags, or open files, or any other data is not stored in an object of type `jmp_buf`.

### See also

setjmp | saves the context (function macro)
longjmp | jumps to specified location (function)

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/utility/program/jmp_buf&oldid=59672"