\doxysection{Using dwarf\+\_\+siblingof\+\_\+b() }
\hypertarget{group__example4b}{}\label{group__example4b}\index{Using dwarf\_siblingof\_b()@{Using dwarf\_siblingof\_b()}}


Example accessing a DIE sibling.  


Example accessing a DIE sibling. 

Access to each DIE on a sibling list This is the older form, required after \doxylink{group__compilationunit_ga474f73416ef468aab00dffbbdd149b0e}{dwarf\+\_\+next\+\_\+cu\+\_\+header\+\_\+d()}.

Better to use \doxylink{group__compilationunit_ga282a397fc2095bd2939d486b232e3cc2}{dwarf\+\_\+next\+\_\+cu\+\_\+header\+\_\+e()} and \doxylink{group__compilationunit_gac9755be1dca4cc32c3a477d1f10f35f4}{dwarf\+\_\+siblingof\+\_\+c()}.


\begin{DoxyCode}{0}
\DoxyCodeLine{*/}
\DoxyCodeLine{\textcolor{keywordtype}{int}\ example4b(\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\_Debug}}\ dbg,\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\_Die}}\ in\_die,}
\DoxyCodeLine{\ \ \ \ \doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\_Bool}}\ is\_info,}
\DoxyCodeLine{\ \ \ \ \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\_Error}}\ *error)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ \ \doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\_Die}}\ return\_sib\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{int}\ res\ =\ 0;}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \ \textcolor{comment}{/*\ \ in\_die\ might\ be\ NULL\ following\ a\ call}}
\DoxyCodeLine{\textcolor{comment}{\ \ \ \ \ \ \ \ to\ dwarf\_next\_cu\_header\_d()}}
\DoxyCodeLine{\textcolor{comment}{\ \ \ \ \ \ \ \ or\ a\ valid\ Dwarf\_Die\ }}

\end{DoxyCode}
