HPlogo HP-UX Reference > U

uwx_get_funcstart(3X)

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

Technical documentation

 » Table of Contents

 » Index

NAME

uwx_get_funcstart() — return start address of current function

SYNOPSIS

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

DESCRIPTION

uwx_get_funcstart() is part of the Unwind Express Library for Integrity systems; see uwx (3X). uwx_get_funcstart() returns the starting address of the current function, as defined by the stack unwind table entry for the current IP (instruction pointer). (This may not actually be the main entry point for the function, since functions are occasionally split into separate regions at higher levels of optimization.)

Parameters

env

A pointer to an unwind environment object.

RETURN VALUE

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

AUTHOR

The Unwind Express Library was developed by Hewlett-Packard.