Program termination | |||||||||||||||||||||
| |||||||||||||||||||||
Unreachable control flow | |||||||||||||||||||||
(C23) | |||||||||||||||||||||
Communicating with the environment | |||||||||||||||||||||
| |||||||||||||||||||||
Memory alignment query | |||||||||||||||||||||
(C23) | |||||||||||||||||||||
Signals | |||||||||||||||||||||
Signal types | |||||||||||||||||||||
Non-local jumps | |||||||||||||||||||||
Types | |||||||||||||||||||||
jmp_buf |
Defined in header <setjmp.h> | ||
typedef/* unspecified */ jmp_buf; | ||
Thejmp_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 typejmp_buf
.
saves the context (function macro)[edit] | |
jumps to specified location (function)[edit] | |
C++ documentation forjmp_buf |