lbrealloc(3)
NAME
lbRealloc - Reallocates memory.
SYNOPSIS
#include <leakbug.h> void *lbRealloc(void *data, size_t size, const char *filename, int line, int debug_level);
PARAMETERS
data The data to reallocate.
size The new size of the data.
- filename
- The calling filename.
- line The calling line number.
- debug_level
- The debug level.
DESCRIPTION
- Rellocates memory. This wraps realloc(), and a new real
- loc() macro is created to wrap this. When using leakbug, you
- shouldn't call this directly. Instead, use realloc() as usual.
RETURNS
A pointer to the start of data.
SEE ALSO
- realloc(3)
- leakbug 12 Jul 2001