##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# 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`.

### [edit] See also

setjmp | saves the context (function macro) [edit]
longjmp | jumps to specified location (function) [edit]
C documentation for jmp_buf

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