Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

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.

See mapmalloc(3MALLOC) for information on these interfaces.

calloc
cfree
free
malloc
malloc_usable_size
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
Availability
system/library
MT-Level
Safe

Usage

See malloc(3C) for an overview and comparison of all the allocation libraries provided by Oracle Solaris.

See Also

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