cdds_check - DDS, check memory heap
SYNOPSIS
#include "cdds.h"
int cdds_check(flags);
-
int flags
DESCRIPTION
This function allows the application to control debug checking. The
"flags" field is an integer and can be any of the DDS_DEBUG
flags listed below. Successive invokation of cdds_check causes
multiple debug flags to be OR'd together. The return value is the
debug flag combination before cdds_check is invoked so that
it can be used to restore the original state when needed. Similar
functionality, though with less control, is available by using
run-time parameter
dds_debug= debug flags.
Flags
DDS_DBG_HEAP (check heap once, right now)
DDS_DBG_ALLOC (check heap on each allocation)
DDS_DBG_FREE (check heap on each free)
DDS_DBG_CALL (check heap on each DDS API call)
DDS_DBG_TRACE (trace all API calls)
DDS_DBG_SCANNER (trace compiler scanner)
DDS_DBG_SYMBOL (dump binary symbol tables)
DDS_DBG_UNCOMPILE (dump ddsUncompileFmt stacks)
DDS_DBG_BINARY (dump binary ? tables)
DDS_DBG_PANIC (dump binary tables on panic)
AUTHOR
R. L. Selzler, EPTG (May 1996)