Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > U

uwx_get_abi_context_code(3X)

Integrity Systems Only
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

uwx_get_abi_context_code() — return ABI and context code from current context

SYNOPSIS

#include <uwx.h> int uwx_get_abi_context_code(struct uwx_env *env);

DESCRIPTION

uwx_get_abi_context_code() is part of the Unwind Express Library for Integrity systems; see uwx(3X). uwx_get_abi_context_code() returns the abi and context parameters recorded in the unwind descriptors for the frame. This routine returns the two values in a single int as ((abi << 8) | context). This entry point should be called only after uwx_step() returns the status code UWX_ABI_FRAME, indicating that a signal frame has been reached.

On HP-UX, the architected value for the abi code is 1, and a context code of 1 identifies a signal context frame. Other values of the context code are reserved for future or internal use.

Parameters

env

A pointer to an unwind environment object.

RETURN VALUE

uwx_get_abi_context_code() returns the abi and context codes for the current frame. If the current frame is not a signal context frame, the return value is undefined.

AUTHOR

The Unwind Express Library was developed by Hewlett-Packard.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.