COHERENT manpages

This page displays the COHERENT manpage for arena [Definition].

List of available manpages
Index


arena -- Definition

An arena is the area of  memory that is available for a program to allocate
dynamically  at run  time.  It  is divided  into allocated  and unallocated
blocks.  The unallocated blocks together form the ``free-memory pool''.

To allocate  a portion  of the  arena, use any  of the  functions malloc(),
calloc(), or  realloc(). To  return an allocated  portion of memory  to the
free-memory pool, use the function free(). To check whether a given portion
of  the arena  is already  allocated, use the  function notmem().  To check
whether the arena has been corrupted, use the function memok().

See Also

calloc(),
free(),
malloc(),
memok(),
notmem(),
Programming COHERENT,
realloc()