GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DWARF_GET_ADDRESS_SIZE(3) FreeBSD Library Functions Manual DWARF_GET_ADDRESS_SIZE(3)

dwarf_get_address_size
return the number of bytes needed to represent an address

DWARF Access Library (libdwarf, -ldwarf)

#include <libdwarf.h>

int
dwarf_get_address_size(Dwarf_Debug dbg, Dwarf_Half *addr_size, Dwarf_Error *err);

Function 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.

On success, function dwarf_tag() returns DW_DLV_OK. In case of an error, it returns DW_DLV_ERROR and sets argument err.

Function dwarf_get_address_size() can fail with the following error:
[]
Either of arguments dbg or addr_size was NULL.

dwarf(3), dwarf_finish(3), dwarf_init(3)
April 14, 2010 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.