|
LPC Library Functions: check_memory |
|
NAMEcheck_memory() - checks driver memory allocation for errors
SYNOPSISstring check_memory( int flag );
DESCRIPTIONThis efun is only available when DEBUGMALLOC and DEBUGMALLOC_EXTENSIONS are both defined in options.h at driver build time. The check_memory() efun will cause the driver to examine its internal data structures for consistency and correctness; this efun is extremely handy when trying to track down driver errors which are caused by incorrect allocation or deallocation of memory. A string describing the results of check_memory() is returned. Passing a 1 for the optional parameter 'flag' will cause check_memory() to return a summary of allocated blocks.
SEE ALSO |
|
Page design by Frank Jacquette & Tim Hollebeek Copyright (C) 1998 Tim Hollebeek & Frank Jacquette |
|