\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 \char`\"{}stdio.h\char`\"{}}\par
{\tt \#include \char`\"{}stdlib.h\char`\"{}}\par
{\tt \#include \char`\"{}unistd.h\char`\"{}}\par
{\tt \#include \char`\"{}fcntl.h\char`\"{}}\par
{\tt \#include \char`\"{}sys/stat.h\char`\"{}}\par
{\tt \#include \char`\"{}ELF/ELF\_\-show.h\char`\"{}}\par
{\tt \#include \char`\"{}ELF/elfshow.h\char`\"{}}\par


Include dependency graph for elfshow.c:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=121pt]{elfshow_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
int \hyperlink{elfshow_8c_a0}{elfshow} (const char $\ast$in\-Name)
\item 
int \hyperlink{elfshow_8c_a1}{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_a0}{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_a0}{
\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 in\-Name})}}
\label{elfshow_8c_a0}


The Vx\-Works application enty point.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em in\-Name}]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}
\hypertarget{elfshow_8c_a1}{
\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_a1}


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}
