Saves the current execution context and active user-key-set.
Standard C library (libc.a)
#include <setjmp.h>
#include <sys/ukeys.h>
int ukey_setjmp (ukey_context)
ukey_jmp_buf ukey_context;
The ukey_setjmp subroutine saves the current stack context and signal mask and additionally saves the current active user-key-set in the ukey_context special jump buffer.
The ukey_context can be passed as a parameter to the longjmp subroutine, which restores not only the execution context but also the saved user-key-set.
Item | Description |
---|---|
ukey_context | Specifies the address for a ukey_jmp_buf structure. |
The ukey_setjmp subroutine returns a value of 0, unless the return is from a call to the longjmp function, in which case the ukey_setjmp subroutine returns a nonzero value.