Dynamically allocates memory from an IVEArena.
#include "ive_shm.h"
void* IVEShmAlloc(IVEArenaSize sz, IVEArena arena);
There is no Fortran interface.
If unsuccessful, returns zero; otherwise, returns a pointer to a region sufficient for storage of at least sz bytes. The initial location of the region is aligned for storage of any intrinsic or compound type. The initial contents of the allocated region are not defined. When the allocated region is no longer needed, it may be recycled with IVEShmDealloc.
IVEShmCalloc, IVEShmDealloc, IVEArena, and IVEArenaSize.
| categories | alphabetical |
modified July 1, 2001
Eric Branlund (eric@msg.ucsf.edu)