setjmp
- Updated2023-02-21
- 1 minute(s) read
setjmp
int setjmp (jmp_buf environmentBuffer);
Purpose
Stores the current calling environment for later use by longjmp.
Parameters
Input | ||
Name | Type | Description |
environmentBuffer | jmp_buf | Contains the current calling environment. This argument can be used later by longjmp to restore the calling environment. |
Return Value
Name | Type | Description |
status | int | Contains the resulting status of the function. If the return is from a direct invocation, zero is returned. If the return is from a call to longjmp, a nonzero value is returned. |
Additional Information
Library: ANSI C Library
Include file: ansi_c.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later