HPlogo HP-UX Reference > U

uwx_add_to_bsp(3X)

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

Technical documentation

 » Table of Contents

 » Index

NAME

uwx_add_to_bsp() — backing store pointer arithmetic

SYNOPSIS

#include <uwx.h> uint64_t uwx_add_to_bsp( uint64_t bsp, int nslots);

DESCRIPTION

uwx_add_to_bsp() is part of the Unwind Express Library for Integrity systems; see uwx(3X). uwx_add_to_bsp() adjusts a backing store pointer (bsp) forward or backward the given number of slots, taking into account the NaT collections that are placed into the backing store at every 64th slot. The adjusted bsp is computed as the original bsp plus sizeof(uint64_t) * nslots, plus an adjustment for any intervening NaT collections.

Parameters

bsp

The original backing store pointer.

nslots

The number of slots forward (positive) or backward (negative) to adjust the bsp.

RETURN VALUE

uwx_add_to_bsp() returns the adjusted backing store pointer.

AUTHOR

The Unwind Express Library was developed by Hewlett-Packard.