man lbCalloc (Fonctions bibliothèques) - Allocates and clears an array.
NAME
lbCalloc - Allocates and clears an array.
SYNOPSIS
#include <leakbug.h> void *lbCalloc(size_t nmemb, size_t size, const char *filename, int line, int debug_level);
PARAMETERS
- nmemb
- The number of elements to allocate.
- size
- The size of each element.
- filename
- The calling filename.
- line
- The calling line number.
- debug_level
- The debug level.
DESCRIPTION
Allocates and clears an array. This wraps calloc(), and a new calloc() macro is created to wrap this. When using leakbug, you shouldn't call this directly. Instead, use calloc() as usual.
RETURNS
A pointer to the first element in the new chunk of memory.