Setjmp.h
Header file
<setjmp.h> is a header defined in the C standard library to provide "non-local jumps": control flow that deviates from the usual subroutine call and return sequence. The complementary functions setjmp and longjmp provide this functionality.
Nº Q307160 ★
Common · Literature
Setjmp.h
Header file
<setjmp.h> is a header defined in the C standard library to provide "non-local jumps": control flow that deviates from the usual subroutine call and return sequence. The complementary functions setjmp and longjmp provide this functionality.
From Wikipedia
<setjmp.h> is a header defined in the C standard library to provide "non-local jumps": control flow that deviates from the usual subroutine call and return sequence. The complementary functions setjmp and longjmp provide this functionality. A typical use of setjmp/longjmp is implementation of an exception mechanism that exploits the ability of longjmp to reestablish program or thread state, even across multiple levels of function calls. A less common use of setjmp is to create syntax similar to coroutines.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
-
s
stdlib.h
C standard library header stdlib.h
Nº Q15304012 ★★
Not listed
-
C
C mathematical functions
C standard library header file providing mathematical functions
Nº Q838096 ★
Not listed
-
A
Assert.h
Header file in the standard library of the C programming language
Nº Q306248 ★
Not listed
-
C
Complex.h
C standard library header for complex numbers
Nº Q1941492 ★
Not listed
-
S
Stdio.h
Header file
Nº Q838087 ★★
Not listed
-
s
stdint.h
C standard library header
Nº Q4050080 ★
Not listed