Man Page: dwarf_get_address_size
Operating Environment: freebsd
Section: 3
DWARF_GET_ADDRESS_SIZE(3) BSD Library Functions Manual DWARF_GET_ADDRESS_SIZE(3)NAMEdwarf_get_address_size -- return the number of bytes needed to represent an addressLIBRARYDWARF Access Library (libdwarf, -ldwarf)SYNOPSIS#include <libdwarf.h> int dwarf_get_address_size(Dwarf_Debug dbg, Dwarf_Half *addr_size, Dwarf_Error *err);DESCRIPTIONFunction dwarf_get_address_size() returns the size in bytes of a native address for a program object. Argument dbg should denote a DWARF debug context created from a program object using dwarf_init(3). Argument addr_size should point to a location that will hold the returned size. Argument err, if non-NULL, it will be used to return error information.RETURN VALUESOn success, function dwarf_tag() returns DW_DLV_OK. In case of an error, it returns DW_DLV_ERROR and sets argument err.ERRORSFunction dwarf_get_address_size() can fail with the following error: [DW_DLE_ARGUMENT] Either of arguments dbg or addr_size was NULL.SEE ALSOdwarf(3), dwarf_init(3), dwarf_finish(3)BSDApril 14, 2010 BSD
| Related Man Pages |
|---|
| dwarf_finish(3) - freebsd |
| dwarf_loclist_from_expr_a(3) - freebsd |
| dwarf_lne_set_address(3) - freebsd |
| dwarf_new_fde(3) - freebsd |
| dwarf_next_types_section(3) - freebsd |
| Similar Topics in the Unix Linux Community |
|---|
| Unix File Permissions |
| Mac OS X: Based on UNIX - Solid As a Rock |
| Is UNIX an open source OS ? |
| Controlling user input |