LIBMAPMALLOC(3LIB) Interface Libraries LIBMAPMALLOC(3LIB)

NAME


libmapmalloc - alternative memory allocator library

SYNOPSIS


cc [ flag... ] file... -lmapmalloc [ library... ]
#include <stdlib.h>


DESCRIPTION


Functions in this library provide malloc routines that use mmap(2)
instead of sbrk(2) for acquiring heap space.

INTERFACES


The shared object libmapmalloc.so.1 provides the public interfaces
defined below. See Intro(3) for additional information on shared object
interfaces.


calloc cfree
free mallinfo
malloc mallopt
memalign realloc
valloc


FILES


/usr/lib/libmapmalloc.so.1

shared object


/usr/lib/64/libmapmalloc.so.1

64-bit shared object


ATTRIBUTES


See attributes(7) for descriptions of the following attributes:


+---------------+-----------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+-----------------+
|MT-Level | Safe |
+---------------+-----------------+

SEE ALSO


pvs(1), mmap(2), sbrk(2), Intro(3), malloc(3C), malloc(3MALLOC),
mapmalloc(3MALLOC), attributes(7)

May 22, 2003 LIBMAPMALLOC(3LIB)