Standard library header <setjmp.h>

From cppreference.net
< c‎ | header

This header is part of the program support utilities library.

Types

execution context type
(typedef)

Macros

saves the context
(function macro)

Functions

jumps to specified location
(function)

Synopsis

#define __STDC_VERSION_SETJMP_H__ 202311L
 
typedef /* unspecified */ jmp_buf;
 
int setjmp(jmp_buf env);
[[noreturn]] void longjmp(jmp_buf env, int val);