CallocDeb

Top  Previous  Next

Allozieren of memory with Debuginformationen.

With CallocDeb memory is requested for an Array by size objects by size in each case cnt. Furthermore the file name and the program line can be cogiven where this call takes place.

Parametre

size (size_t) [IN]

Size of the Arrays.

cnt (size_t) [IN]

Size of the respective objects in the Array.

file (char *) [IN]

File name, while the call takes place.

line (int) [IN]

The program line where the call takes place.

Result

(void *) [OUT]

If the memory requirement was successful, a pointer is delivered on it, but ZERO.

Declaration

#include "basic.h"

 

void * DLLENTRY CallocDeb (

size_t size,

size_t cnt,

char * file,

int line

);

Related functions

FreeDeb

MallocDeb

Remarks

Calloc is defined as a macro:

#define Calloc (size, count) CallocDeb (size, count, __ FILE __, __ LINE __)