\doxysection{Reading string offsets section data }
\hypertarget{group__examplestrngoffsets}{}\label{group__examplestrngoffsets}\index{Reading string offsets section data@{Reading string offsets section data}}


Example accessing the string offsets section.  


Example accessing the string offsets section. 

An example accessing the string offsets section 
\begin{DoxyParams}{Parameters}
{\em dbg} & The \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug} of interest. \\
\hline
{\em dw\+\_\+error} & On error dw\+\_\+error is set to point to the error details. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
DW\+\_\+\+DLV\+\_\+\+OK etc.
\end{DoxyReturn}

\begin{DoxyCode}{0}
\DoxyCodeLine{*/}
\DoxyCodeLine{\textcolor{keywordtype}{int}\ examplestrngoffsets(\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\_Debug}}\ dbg,\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\_Error}}\ *error)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{int}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ res\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \doxymbox{\hyperlink{group__allstructs_ga750da042cfbd9fba5d46f9df5078c526}{Dwarf\_Str\_Offsets\_Table}}\ sot\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\_Unsigned}}\ \ \ \ \ \ \ \ \ \ wasted\_byte\_count\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\_Unsigned}}\ \ \ \ \ \ \ \ \ \ table\_count\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\_Error}}\ \ \ \ \ \ \ \ \ \ \ \ \ closeerror\ =\ 0;}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \ res\ =\ \doxymbox{\hyperlink{group__str__offsets_ga27a2da2e2208aff754ed4b0fa9df1553}{dwarf\_open\_str\_offsets\_table\_access}}(dbg,\ \&sot,error);}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordflow}{if}\ (res\ ==\ DW\_DLV\_NO\_ENTRY)\ \{}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{comment}{/*\ No\ such\ table\ }}

\end{DoxyCode}
