GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBI / V0-1-2 > test_ofs / mv2304
#include <stdio.h>
#include <PBI/Ofs.h>
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. |
CVS $Id: test_ofs.c,v 1.4 2011/03/24 20:50:58 apw Exp $
To run the program type
On Unix platforms: $ test_ofs On VxWorks > test_ofs ()
The program returns 0 if successful, else -1.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Standard main entry point for Unix platforms. It merely calls the testing routine test_ofs ().
0,if | successful | |
-1,if | unsuccessful |
References test_ofs().
int test_ofs | ( | void | ) |
The test program itself and also the entry point for running this test on VxWork's platforms.
0,if | successful | |
-1,if | unsuccessful |
References COUNT_OF, OFFSET_OF, and TEST_MISSION.
Referenced by main().