Contiki 2.6

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.