Contiki-NG
Functions

Memory block allocation routines. More...

#include <string.h>
#include "contiki.h"
#include "lib/memb.h"

Go to the source code of this file.

Functions

void memb_init (struct memb *m)
 Initialize a memory block that was declared with MEMB(). More...
 
void * memb_alloc (struct memb *m)
 Allocate a memory block from a block of memory declared with MEMB(). More...
 
char memb_free (struct memb *m, void *ptr)
 Deallocate a memory block from a memory block previously declared with MEMB(). More...
 

Detailed Description

Memory block allocation routines.

Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Definition in file memb.c.