GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> ELF / V1-1-3 > elfshow / rhel4-32


Interface   Data Structures   File List   Data Fields   Globals  

elfshow.c File Reference

Function definitions for ELF file dump utility. More...

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <ELF/ELF_show.h>
#include <ELF/elfshow.h>

Functions

int elfshow (const char *inName)
int main (int argc, char **argv)


Detailed Description

Function definitions for ELF file dump utility.

Author:
D.L. Wood
These functions implement the ELF object file display utility. The ELF_show() function, from constituent elf_show does all of the real work. This code simply opens and reads into memory the ELF object file contents.

Function Documentation

int elfshow ( const char *  inName  ) 

The VxWorks application enty point.

Parameters:
inName The input file name.
Return values:
0 Success.
-1 Failure.

References ELF_show().

Referenced by main().

int main ( int  argc,
char **  argv 
)

The UNIX application entry point.

Parameters:
argc The number of command line arguments.
argv Pointer to the commane line arg strings.
Return values:
0 Success.
-1 Failure.

References elfshow().


Generated on Fri Sep 30 19:21:43 2011 by  doxygen 1.5.8