GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
PBS / V2-10-6
Constituent: pbs     Tag: sun-gcc
Interface Data Structures File List Data Fields Globals
BUG.h File Reference
Bugchecks the CPU, used when a irrecoverable error occurs.
More...
This graph shows which files directly or indirectly include this file:
|
Functions |
void | BUG_check (int status, const char *reason,...) |
| Simple routine to declare a BUG check.
|
Detailed Description
Bugchecks the CPU, used when a irrecoverable error occurs.
- Author:
- JJRussell - russell@slac.stanford.edu
CVS $Id: BUG.h,v 1.1.1.1 2003/05/20 19:01:42 russell Exp $
These are really just placeholders until a more serious set of routines can be written.
Function Documentation
void BUG_check |
( |
int |
status, |
|
|
const char * |
reason, |
|
|
... |
|
|
) |
|
|
|
Simple routine to declare a BUG check.
- Parameters:
-
status | A status value to be associated with the failure |
reason | A C-style formatting string |
Prints a simple message consisting of the status value and a string. The string is formatted using the reason as a C-style formatting string which consumes the remaining arguments.
EXAMPLE
BUG_check (0xdeadbeef,
"Mad Cow Disease takes over GFS inflicting %d programmers\n",
nProgrammers);
|
Here is the call graph for this function:
Generated on Fri Sep 30 23:49:57 2005 by
1.3.3