Namespaces
Variants
Views
Actions

jmp_buf

From cppreference.com
< c‎ | program
Defined in header <setjmp.h>
typedef /* unspecified */ jmp_buf;

The 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] References

  • C11 standard (ISO/IEC 9899:2011):
  • 7.13/2 Nonlocal jumps <setjmp.h> (p: 262)
  • C99 standard (ISO/IEC 9899:1999):
  • 7.13/2 Nonlocal jumps <setjmp.h> (p: 243)
  • C89/C90 standard (ISO/IEC 9899:1990):

[edit] See also

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