GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > FILE / V3-8-1

Constituent: file_open_test     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

file_open_test.c File Reference

FILE package unit tests for file open/close software. More...

#include <errno.h>
#include <stdio.h>
#include <sys/types.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#include "PBS/PBS.h"
#include "PBS/TASK.h"
#include "MSG/MSG_pubdefs.h"
#include "MSG/MSG_printProc.h"
#include "FILE/FILE_path.h"

Include dependency graph for file_open_test.c:


Functions

unsigned int file_open_test (const char *i_file, const char *o_file)
 Test FILE_open()/FILE_close() operations.
int main (int pcnt, char *parm[])
 Program to drive the single threaded MSG test suite.

Detailed Description

FILE package unit tests for file open/close software.

CVS $Id: file_open_test.c,v 1.1 2005/10/10 00:13:20 apw Exp $
Author:
A.P.Waite

Function Documentation

unsigned int file_open_test const char *  i_file,
const char *  o_file
 

Test FILE_open()/FILE_close() operations.

Parameters:
i_file (in) Input file name
o_file (in) Output file name
file_open_test() opens the input file (in whatever form) and copies it to the output file (in "regular" form).

Return values:
0 Success
-1 Failure

int main int  pcnt,
char *  parm[]
 

Program to drive the single threaded MSG test suite.

Parameters:
pcnt (in) Number of argument tokens
parm (in) Pointers to argument tokens
Return values:
0 Success
1 Failure


Generated on Tue Oct 25 22:22:48 2005 by  doxygen 1.4.4