GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> FILE / V3-11-1 > file_hdr_show / rhel4-32


Interface   Data Structures   File List   Data Fields   Globals  

file_hdr_show.c File Reference

Executable to display header attached to a file. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <time.h>
#include <PBS/MBA.h>
#include <PBS/WCT.h>
#include <MSG/MSG_pubdefs.h>
#include <FBS/FBS_pubrtos.h>
#include <FBS/FBS_swap.h>
#include <FILE/file_hdr_show.h>

Defines

#define ASCTIME(_tstruct, _str, _size)   asctime_r((_tstruct), (_str), (_size))

Functions

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


Detailed Description

Executable to display header attached to a file.

Author:
D.L. Wood

Define Documentation

#define ASCTIME ( _tstruct,
_str,
_size   )     asctime_r((_tstruct), (_str), (_size))

Portable call to asctime_r() function.

Referenced by file_hdr_show().


Function Documentation

int file_hdr_show ( const char *  inName  ) 

Prints LAT file header values for input file.

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

References ASCTIME.

Referenced by main().

int main ( int  argc,
char **  argv 
)

The UNIX application entry point.

Parameters:
argc The number of command line args.
argv The list of command line args.
Return values:
0 Success.
-1 Failure.

References file_hdr_show().


Generated on Fri Sep 30 18:57:51 2011 by  doxygen 1.5.8