mmem.c File Reference

Implementation of the managed memory allocator. More...

#include "mmem.h"
#include "list.h"
#include "contiki-conf.h"
#include <string.h>

Go to the source code of this file.

Functions

int mmem_alloc (struct mmem *m, unsigned int size)
 Allocate a managed memory block.
void mmem_free (struct mmem *m)
 Deallocate a managed memory block.
void mmem_init (void)
 Initialize the managed memory module.

Detailed Description

Implementation of the managed memory allocator.

Author:
Adam Dunkels <adam@sics.se>

Definition in file mmem.c.


Generated on Mon Apr 11 14:23:46 2011 for Contiki 2.5 by  doxygen 1.6.1