lbcalloc(3)

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 usu
al.

RETURNS

A pointer to the first element in the new chunk of memory.

SEE ALSO

calloc(3)
leakbug 12 Jul 2001
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout