On this page
setjmp.h
Prev: threads.h | Up: stdlib | Next: compilation_and_internals
Rel: Error Handling & goto cleanup, c/builtins
Ref: cppreference — <setjmp.h>
Tags: #public #prog #c #stdlib #setjmp #index
Include
#include <setjmp.h>
Overview
Non-local jumps across stack frames (setjmp / longjmp) for low-level error recovery or coroutines.
Specialized (#tier/specialized)
- setjmp — Saves the calling stack context into
env(returns0initially, orvalwhen resumed bylongjmp).
Linked from
Related notes
- tuts/c/stdlib Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib
- tuts/c/stdlib/setjmp/setjmp Linked here; links to this page; shared tags: #c, #prog, #setjmp, #stdlib
- tuts/c/stdlib/threads Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib
- tuts/c/builtins Linked here; shared tags: #c, #index, #prog
- tuts/c/compilation_and_internals Linked here; shared tags: #c, #index, #prog
- tuts/c/stdlib/threads/mtx_lock links to this page; shared tags: #c, #prog, #stdlib
- tuts/c/compilation_and_internals/error_handling_and_cleanup Linked here; shared tags: #c, #prog
- tuts/c/stdlib/assert shared tags: #c, #index, #prog, #stdlib
- tuts/c/stdlib/ctype shared tags: #c, #index, #prog, #stdlib
- tuts/c/stdlib/errno shared tags: #c, #index, #prog, #stdlib