next up previous
Next: Glocal Memory Interface Up: The System Interface Previous: Communication Interface

Malloc Interface

Multithread safe versions of these routines should be provided by the system layer. Furthermore, we provide Panda versions that check for memory overflow.

#include <stdlib.h>

void *pan_malloc(size_t size);
void *pan_calloc(size_t nelem, size_t elsize);
void *pan_realloc(void *ptr, size_t size);
void  pan_free(void *ptr);


Rutger Hofman
Wed Jul 22 18:25:43 MET DST 1998