\hypertarget{elfshow_8c}{
\section{elfshow.c File Reference}
\label{elfshow_8c}\index{elfshow.c@{elfshow.c}}
}
Function definitions for ELF file dump utility.  


{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$stdlib.h$>$}\par
{\tt \#include $<$unistd.h$>$}\par
{\tt \#include $<$fcntl.h$>$}\par
{\tt \#include $<$sys/stat.h$>$}\par
{\tt \#include $<$ELF/ELF\_\-show.h$>$}\par
{\tt \#include $<$ELF/elfshow.h$>$}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
int \hyperlink{elfshow_8c_bac9ff735e0cd204e43f18cbe2b17d7b}{elfshow} (const char $\ast$inName)
\item 
int \hyperlink{elfshow_8c_3c04138a5bfe5d72780bb7e82a18e627}{main} (int argc, char $\ast$$\ast$argv)
\end{CompactItemize}


\subsection{Detailed Description}
Function definitions for ELF file dump utility. 

\begin{Desc}
\item[Author:]D.L. Wood\end{Desc}
These functions implement the ELF object file display utility. The \hyperlink{ELF__show_8h_803e4ed1c6622ee19d88cd62fbe7d5d5}{ELF\_\-show()} function, from constituent {\em elf\_\-show\/} does all of the real work. This code simply opens and reads into memory the ELF object file contents. 

\subsection{Function Documentation}
\hypertarget{elfshow_8c_bac9ff735e0cd204e43f18cbe2b17d7b}{
\index{elfshow.c@{elfshow.c}!elfshow@{elfshow}}
\index{elfshow@{elfshow}!elfshow.c@{elfshow.c}}
\subsubsection[{elfshow}]{\setlength{\rightskip}{0pt plus 5cm}int elfshow (const char $\ast$ {\em inName})}}
\label{elfshow_8c_bac9ff735e0cd204e43f18cbe2b17d7b}


The VxWorks application enty point.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em inName}]The input file name.\end{description}
\end{Desc}
\begin{Desc}
\item[Return values:]
\begin{description}
\item[{\em 0}]Success. \item[{\em -1}]Failure. \end{description}
\end{Desc}


References ELF\_\-show().

Referenced by main().\hypertarget{elfshow_8c_3c04138a5bfe5d72780bb7e82a18e627}{
\index{elfshow.c@{elfshow.c}!main@{main}}
\index{main@{main}!elfshow.c@{elfshow.c}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (int {\em argc}, \/  char $\ast$$\ast$ {\em argv})}}
\label{elfshow_8c_3c04138a5bfe5d72780bb7e82a18e627}


The UNIX application entry point.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em argc}]The number of command line arguments. \item[{\em argv}]Pointer to the commane line arg strings.\end{description}
\end{Desc}
\begin{Desc}
\item[Return values:]
\begin{description}
\item[{\em 0}]Success. \item[{\em -1}]Failure. \end{description}
\end{Desc}


References elfshow().