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;
|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.
The clrjmpx kernel service is part of the Base Operating System (BOS) Runtime.
The longjmpx kernel service, setjmpx kernel service.
Process and Exception Management Kernel Services and Understanding Exception Handling in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.