GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
PBS / V2-10-10
Constituent: pbs     Tag: sun-gcc
Interface Data Structures File List Data Fields Globals
BUG.c File Reference
Defines a set of routines for bugchecking the CPU. More...
#include "PBS/BUG.h"
#include "PBS/REG.h"
#include "PBS/PBS.h"
#include <stdarg.h>
Include dependency graph for BUG.c:
|
Functions |
void | BUG_check (int status, const char *reason,...) |
| Simple routine to declare a BUG check.
|
Detailed Description
Defines a set of routines for bugchecking the CPU.
- Author:
- JJRussell - russell@slac.stanford.edu
CVS $Id: BUG.c,v 1.3 2004/05/12 16:19:04 russell Exp $
This routine is deprecated, being replaced by PBS_panic
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);
|
Generated on Mon Nov 20 05:42:30 2006 by
1.4.4