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

libmapmalloc - alternative memory allocator library

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

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

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

/usr/lib/libmapmalloc.so.1

shared object

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

64-bit shared object

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

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level Safe

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

May 22, 2003 OmniOS