freebsd man page for dwarf_attroffset

Query: dwarf_attroffset

OS: freebsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DWARF_ATTROFFSET(3)					   BSD Library Functions Manual 				       DWARF_ATTROFFSET(3)

NAME
dwarf_attroffset -- retrieve the section-relative offset of an attribute descriptor
LIBRARY
DWARF Access Library (libdwarf, -ldwarf)
SYNOPSIS
#include <libdwarf.h> int dwarf_attroffset(Dwarf_Attribute at, Dwarf_Off *ret_off, Dwarf_Error *err);
DESCRIPTION
Function dwarf_attroffset() retrieves the section-relative offset of the attribute descriptor referenced by argument at. Argument ret_off should point to a location that is to hold the returned section-relative offset. If argument err is non-NULL, it is used to return an error descriptor in case of an error.
RETURN VALUES
On success, function dwarf_attroffset() returns DW_DLV_OK. In case of an error, it returns DW_DLV_ERROR and sets argument err.
COMPATIBILITY
This function is an extension to the DWARF(3) API.
ERRORS
The dwarf_attroffset() function may fail with the following errors: [DW_DLE_ARGUMENT] Either of the arguments at or ret_off was NULL.
SEE ALSO
dwarf(3), dwarf_attr(3)
BSD
December 20, 2014 BSD
Related Man Pages
dwarf_formref(3) - freebsd
dwarf_get_cu_die_offset(3) - freebsd
dwarf_dieoffset(3) - freebsd
dwarf_die_cu_offset_range(3) - freebsd
dwarf_global_formref(3) - freebsd
Similar Topics in the Unix Linux Community
Unix File Permissions
FreeBSD Kernel Internals, Dr. Marshall Kirk McKusick
Scripts without shebang
Memory Leaks
Is it safe to install x86 Solaris 10 U6 after installed-Linux-and-FreeBSD?