|
NAMEdwarf_attroffset —
retrieve the section-relative offset of an attribute
descriptor
LIBRARYDWARF Access Library (libdwarf, -ldwarf)SYNOPSIS#include <libdwarf.h>
int
DESCRIPTIONFunctiondwarf_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 VALUESOn success, functiondwarf_attroffset () returns
DW_DLV_OK .
In case of an error, it returns
COMPATIBILITYThis function is an extension to the DWARF(3) API.ERRORSThedwarf_attroffset () function may fail with the
following errors:
SEE ALSOdwarf(3), dwarf_attr(3)
Visit the GSP FreeBSD Man Page Interface. |