HPlogo HP-UX Reference > U

uwx_self_do_context_frame(3X)

Integrity Systems Only
HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

uwx_self_do_context_frame() — reinitialize the context at a signal frame

SYNOPSIS

#include <uwx.h> int uwx_self_do_context_frame( struct uwx_env *env, struct uwx_self_info *info );

DESCRIPTION

uwx_self_do_context_frame() is part of the Unwind Express Library for Integrity systems; see uwx(3X). uwx_self_do_context_frame() builds a new context in the unwind environment from a signal frame. This entry point should be called after (and only after) uwx_step() returns the status code UWX_ABI_FRAME and uwx_get_abi_context_code() returns an abi code of 1 and a context code of 1, indicating that an HP-UX signal frame has been reached.

Upon return, the current context in the unwind environment will reflect the state of the process at the point where the signal occurred.

This entry point is to be used only when self-unwinding, using the provided callback routines.

Parameters

env

A pointer to an unwind environment object.

info

A pointer to the self-unwind callback info structure.

RETURN VALUE

uwx_self_do_context_frame() returns UWX_OK on success. See uwx(3X) for error codes.

AUTHOR

The Unwind Express Library was developed by Hewlett-Packard.