Contiki-NG
Functions
heapmem.c File Reference

    Dynamic memory allocation module.
More...

#include <stdint.h>
#include <string.h>
#include "heapmem.h"
#include "sys/cc.h"

Go to the source code of this file.

Functions

void * heapmem_alloc (size_t size)
 Allocate a chunk of memory in the heap. More...
 
void heapmem_free (void *ptr)
 Deallocate a chunk of memory. More...
 
void * heapmem_realloc (void *ptr, size_t size)
 Reallocate a chunk of memory in the heap. More...
 
void heapmem_stats (heapmem_stats_t *stats)
 Obtain internal heapmem statistics regarding the allocated chunks. More...
 

Detailed Description

    Dynamic memory allocation module.
Author
Nicolas Tsiftes nvt@a.nosp@m.cm.o.nosp@m.rg

Definition in file heapmem.c.