[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 1

clrjmpx Kernel Service

Purpose

Removes a saved context by popping the last saved jump buffer from the list of saved contexts.

Syntax

#include <sys/types.h>
#include <sys/errno.h>


void clrjmpx ( jump_buffer)
label_t *jump_buffer;

Parameter

jump_buffer Specifies the address of the caller-supplied jump buffer that was specified on the call to the setjmpx service.

Description

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.

Execution Environment

The clrjmpx kernel service can be called from either the process or interrupt environment.

Return Values

The clrjmpx service has no return values.

Related Information

The longjmpx kernel service, setjmpx kernel service.

Process and Exception Management Kernel Services and Understanding Exception Handling in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]