Nut/OS  4.10.3
API Reference
memdebug.h File Reference
#include <compiler.h>
#include <cfg/memory.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for memdebug.h:

Go to the source code of this file.

Functions

void * dbg_malloc (size_t len, CONST char *file, int line)
void * dbg_calloc (size_t num, size_t size, CONST char *file, int line)
 Allocate space for an array.
void dbg_free (void *p, CONST char *file, int line)
void * dbg_realloc (void *ptr, size_t len, CONST char *file, int line)
char * dbg_strdup (CONST char *str, CONST char *file, int line)

Function Documentation

void* dbg_malloc ( size_t  len,
CONST char *  file,
int  line 
)

Referenced by dbg_calloc().

void dbg_free ( void *  p,
CONST char *  file,
int  line 
)
void* dbg_realloc ( void *  ptr,
size_t  len,
CONST char *  file,
int  line 
)
char* dbg_strdup ( CONST char *  str,
CONST char *  file,
int  line 
)