libdwarf: Using dwarf_siblingof_c()

libdwarf

Loading...
Searching...
No Matches
Using dwarf_siblingof_c()

Example accessing a DIE sibling.

Example accessing a DIE sibling.

Access to each DIE on a sibling list. This is the preferred form as it is slightly more efficient than dwarf_siblingof_b().

*/
int example4c(Dwarf_Die in_die,
Dwarf_Error *error)
{
Dwarf_Die return_sib = 0;
int res = 0;
/* in_die must be a valid Dwarf_Die
Dwarf_Die
struct Dwarf_Die_s * Dwarf_Die
Definition libdwarf.h:627
Dwarf_Error
struct Dwarf_Error_s * Dwarf_Error
Definition libdwarf.h:611