HPlogo HP-UX Reference > U

uwx_get_nat(3X)

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

Technical documentation

 » Table of Contents

 » Index

NAME

uwx_get_nat() — Read a NaT bit from current frame's context

SYNOPSIS

#include <uwx.h> int uwx_get_nat( struct uwx_env *env, int regid, int *natp );

DESCRIPTION

uwx_get_nat() is part of the Unwind Express Library for Integrity systems; see uwx(3X). uwx_get_nat() reads the value of a NaT bit from the context of the current frame.

Parameters

env

A pointer to an unwind environment object.

regid

An identifier for the register to be read, formed using the UWX_REG_GR(x) macro. This parameter must name one of GR4-GR7 (the preserved GRs) or GR32-GR127 (the stacked GRs).

natp

Pointer to an integer where the value is written. If the NaT bit is set, 1 will be returned; otherwise, 0 will be returned.

RETURN VALUE

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

AUTHOR

The Unwind Express Library was developed by Hewlett-Packard.