GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCBT / V1-6-2 > ssrsim / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

LCBT_printf.h File Reference

Basic printf routines for LCB. More...


Defines

#define PRINTF(format, args...)   LCBT_printOut(""format"",##args)
 Provide printf-like functionality directed to standard output.
#define EPRINTF(format, args...)   LCBT_printErr(""format"",##args)
 Provide printf-like functionality directed to error output.

Functions

void LCBT_printInit ()
 init control struct for PRINTF amd EPRINTF
void LCBT_printOut (const char *format,...)
 replaces printf() thru macro and send to "output" device
void LCBT_printErr (const char *format,...)
 replaces _printf() thru macro and send text to "error" device


Detailed Description

Basic printf routines for LCB.

Author:
Ed Bacho -- ebacho@slac.stanford.edu

Function Documentation

void LCBT_printErr ( const char *  format,
  ... 
)

replaces _printf() thru macro and send text to "error" device

Parameters:
format standard _printf format string
... standard vargs for printf
Returns:
none This routine replaces _printf() thru a macro to direct "error text to proper device. It adds an "ERROR" and timestamp prefix to the text.

void LCBT_printInit (  ) 

init control struct for PRINTF amd EPRINTF

Returns:
none

void LCBT_printOut ( const char *  format,
  ... 
)

replaces printf() thru macro and send to "output" device

Parameters:
format standard printf format string
... standard vargs for printf
Returns:
none This routine replaces printf() thru a macro to direct "output" text to proper device.


Generated on Fri Mar 25 12:46:15 2011 by  doxygen 1.5.8