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