GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBI / V0-0-5

Constituent: test_ofs     Tag: sun-gcc


Interface   Compound List   File List   Compound Members   File Members  

test_ofs.c File Reference

Unit test of the macros in PBI/Ofs.h. More...

#include <stdio.h>
#include "PBI/Ofs.h"

Include dependency graph for test_ofs.c:

Include dependency graph

Defines

#define TEST_MISSION
 Symbol representing the string stating the mission of this test. It is purely here to make the code read nicer.


Functions

int main (int argc, char **argv)
 Standard main entry point for Unix platforms. It merely calls the testing routine test_ofs ().

int test_ofs (void)
 The test program itself and also the entry point for running this test on VxWork's platforms.


Detailed Description

Unit test of the macros in PBI/Ofs.h.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: test_ofs.c,v 1.3 2004/05/06 14:40:25 russell Exp $

To run the program type


   On Unix platforms: 
   $ test_ofs

   On VxWorks
   > test_ofs ()

 

The program returns 0 if successful, else -1.


Function Documentation

int main int  argc,
char **  argv
 

Standard main entry point for Unix platforms. It merely calls the testing routine test_ofs ().

Return values:
0,if successful
-1,if unsuccessful
This program takes no arguments.

Here is the call graph for this function:

int test_ofs void   ) 
 

The test program itself and also the entry point for running this test on VxWork's platforms.

Return values:
0,if successful
-1,if unsuccessful


Generated on Fri May 7 03:05:47 2004 by doxygen 1.3.3