[mainpage] [tags]

module: alloc

Wrappers for C memory management functions with error checking

This module contains macros and functions that perform as wrappers for standard C memory management functions, malloc, realloc and free. The wrapper functions check for incorrect use realloc and free, memory overrun errors and double free errors. If, at program termination, that memory has not been properly free'd then error messages are written to stderr with the unfreed memory allocations. Logging of all memory management function calls to stderr can be turned on to aid in debugging. The wrappers can be 'turned off' at compile time for zero overhead. (../include/deds/alloc.h)

Part of the deds library.

Generated by MXDOC 2.2 on Sun Feb 4 15:16:26 2007