GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LATC / V9-1-2 > latc_test_embd / rad750


Interface   Data Structures   File List   Data Fields   Globals  

t_fi.c File Reference

Test the basic fio routines. More...

#include "LATC/LATC_msgs.h"
#include "t_fi_p.h"
#include "fi_p.h"
#include "fo_p.h"
#include "MSG/MSG_pubdefs.h"
#include <stdlib.h>
#include <string.h>

Defines

#define CHECK_CALL(FN, NAME)
 If a function call returns an error, return the line number.

Functions

int t_fi (void *ptr)
 Tests the basic fio routines.


Detailed Description

Test the basic fio routines.

Author:
James Swain -- jswain@slac.stanford.edu

Define Documentation

#define CHECK_CALL ( FN,
NAME   ) 

Value:

{ \
  unsigned status;\
  if(_msg_failure(status = FN)) {_msg_report(status, 0, 1, NAME); return __LINE__;} \
}
If a function call returns an error, return the line number.

Referenced by t_fi(), and t_map().


Function Documentation

int t_fi ( void *  ptr  ) 

Tests the basic fio routines.

Parameters:
ptr Pointer to test specific data
Returns:
0 (pass) or the line number (fail)

References CHECK_CALL.


Generated on Fri Apr 1 22:26:54 2011 by  doxygen 1.5.8