GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / V2-12-2 > pbs / rad750
#include <PBS/BUG.h>
#include <PBS/REG.h>
#include <PBS/PBS.h>
#include <stdarg.h>
Functions | |
| void | BUG_check (int status, const char *reason,...) |
| Simple routine to declare a BUG check. | |
CVS $Id: BUG.c,v 1.4 2011/03/24 23:05:46 apw Exp $
This routine is deprecated, being replaced by PBS_panic
| void BUG_check | ( | int | status, | |
| const char * | reason, | |||
| ... | ||||
| ) |
Simple routine to declare a BUG check.
| status | Status code indicating the reason for the bug check | |
| reason | A printf() style format string followed by the arguments | |
| status | A status value to be associated with the failure | |
| reason | A C-style formatting string |
EXAMPLE
BUG_check (0xdeadbeef,
"Mad Cow Disease takes over GFS inflicting %d programmers\n",
nProgrammers);
References PBS_panic(), and REG_LR.
1.5.8