MallocDeb

Top  Previous  Next

Allozieren of memory with Debuginformationen.

With MallocDeb memory is requested for an Array by size objects. Furthermore the file name and the program line can be cogiven where this call takes place. Memory with Malloc, MallocDeb, Realloc, Calloc or CallocDeb it was requested, has to come too Free or. FreeDeb again are released and not with free.

Parametre

size (size_t) [IN]

Size of the requested memory.

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 requested memory is available, a pointer is returned on it, but ZERO.

Declaration

#include "basic.h"

 

void * DLLENTRY MallocDeb (

size_t size,

char * file,

int line

);

Related functions

Malloc

FreeDeb