![]() |
Contiki-NG
|
Memory block allocation routines. More...
Go to the source code of this file.
Functions | |
| void | memb_init (struct memb *m) |
| Initialize a memory block that was declared with MEMB(). | |
| void * | memb_alloc (struct memb *m) |
| Allocate a memory block from a block of memory declared with MEMB(). | |
| int | memb_free (struct memb *m, void *ptr) |
| Deallocate a memory block from a memory block previously declared with MEMB(). | |
| int | memb_inmemb (struct memb *m, void *ptr) |
| Check if a given address is within a memory area previously declared with MEMB(). | |
| size_t | memb_numfree (struct memb *m) |
| Count free memory blocks. | |
Memory block allocation routines.
Definition in file memb.c.