lbRealloc3
Reallocates memory.
Usage
#include <leakbug.h>
void *lbRealloc(void *data, size_t size, const char *filename, int line, int debug_level);
Parameters
|
The data to reallocate. |
|---|---|
|
The new size of the data. |
|
The calling filename. |
|
The calling line number. |
|
The debug level. |
Overview
Rellocates memory. This wraps realloc(), and a new realloc() 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.
Releases
3 releases since Debian 3.0 (Woody); the text changed 1 time.