Difference between revisions of "cpp/header/csetjmp"
From cppreference.com
m (Update links.) |
m (→Synopsis) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 12: | Line 12: | ||
{{dsc inc | cpp/utility/program/dsc longjmp}} | {{dsc inc | cpp/utility/program/dsc longjmp}} | ||
{{dsc end}} | {{dsc end}} | ||
+ | |||
+ | ===Synopsis=== | ||
+ | {{source|1= | ||
+ | namespace std { | ||
+ | using jmp_buf = /* see description */ ; | ||
+ | [[noreturn]] void longjmp(jmp_buf env, int val); | ||
+ | } | ||
+ | #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 */