Removes a saved context by popping the last saved jump buffer from the list of saved contexts.
#include <sys/types.h>
#include <sys/errno.h>
void clrjmpx ( jump_buffer)
label_t *jump_buffer;
Item | Description |
---|---|
jump_buffer | Specifies the address of the caller-supplied jump buffer that was specified on the call to the setjmpx service. |
The clrjmpx kernel service pops the most recent context saved by a call to the setjmpx kernel service. Since each longjmpx call automatically pops the jump buffer for the context to resume, the clrjmpx kernel service should be called only following:
The clrjmpx service takes the address of the jump buffer passed in the corresponding setjmpx service.
The clrjmpx kernel service can be called from either the process or interrupt environment.
The clrjmpx service has no return values.