Difference between revisions of "cpp/header/csetjmp"
From cppreference.com
(+synopsis) |
m (→Synopsis) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 16: | Line 16: | ||
{{source|1= | {{source|1= | ||
namespace std { | namespace std { | ||
− | using jmp_buf = /* | + | using jmp_buf = /* see description */ ; |
[[noreturn]] void longjmp(jmp_buf env, int val); | [[noreturn]] void longjmp(jmp_buf env, int val); | ||
} | } | ||
− | #define setjmp(env) /* | + | #define setjmp(env) /* see description */ |
}} | }} | ||
+ | |||
+ | {{langlinks|es|ja|ru|zh}} |
Latest revision as of 21:50, 18 January 2023
This header was originally in the C standard library as <setjmp.h>.
This header is part of the program support library.
Types | ||
execution context type (typedef) | ||
Macros | ||
saves the context (function macro) | ||
Functions | ||
jumps to specified location (function) |
[edit] Synopsis
namespace std { using jmp_buf = /* see description */ ; [[noreturn]] void longjmp(jmp_buf env, int val); } #define setjmp(env) /* see description */