lbRealloc(3)

lbRealloc3

Reallocates memory.

Usage

#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.

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.

  1. 3.0
  2. 3.1–4.0

From libleakbug-dev 0.1.5+debian-2 in Debian 4.0 (Etch). Parsed by carta from the page's man source.