Algorithms_in_C 1.0.0
Set of algorithms implemented in C.
Loading...
Searching...
No Matches
MEMORY_INFORMATION Struct Reference

For the malloc, calloc and free functions. More...

Collaboration diagram for MEMORY_INFORMATION:
[legend]

Data Fields

void * ptr
 Pointer returned by malloc / calloc.
 
const char * fileName
 File in which malloc or calloc has been called.
 
const char * functionName
 Function in which malloc or calloc has been called.
 
size_t bytes
 Number of bytes allocated.
 
int line
 Line number (in file) corresponding to the malloc / calloc call.
 
struct MEMORY_INFORMATIONnext
 Next element in the list.
 
struct MEMORY_INFORMATIONprevious
 Previous element in the list.
 

Detailed Description

For the malloc, calloc and free functions.

For IO operations (printf). For the memcmp function. Header file which contains the prototypes of malloc_dbg, calloc_dbg and fre_dbg.

Structure used to save an allocated pointer


The documentation for this struct was generated from the following file: