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(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsl (32-bit) |
+-----------------------------+-----------------------------+
| |SUNWcslx (64-bit) |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO pvs(1), mmap(2), sbrk(2), intro(3), malloc(3C), malloc(3MALLOC), mapmalloc(3MALLOC), attributes(5)SunOS 5.10 22 May 2003 libmapmalloc(3LIB)
Check Out this Related Man Page
libumem(3LIB) Interface Libraries libumem(3LIB)NAME
libumem - object-caching memory allocation library
SYNOPSIS
cc [ flag... ] file... -lumem [ library... ]
#include <umem.h>
DESCRIPTION
Functions in this library provide fast, scalable object-caching memory allocation with multithreaded application support. In addition to
the standard malloc(3C) family of functions and the more flexible umem_alloc(3MALLOC) family, libumem provides powerful object-caching ser-
vices as described in umem_cache_create(3MALLOC).
The libumem library also provides extensive debugging support, including detection of memory leaks, buffer overruns, multiple frees, use
of uninitialized data, use of freed data, and many other common programming errors. See umem_debug(3MALLOC).
INTERFACES
The shared object libumem.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object
interfaces.
calloc free
malloc memalign
realloc umem_alloc
umem_cache_alloc umem_cache_create
umem_cache_destroy umem_cache_free
umem_free umem_nofail_callback
umem_zalloc valloc
FILES
/usr/lib/libumem.so.1 shared object
/usr/lib/64/libumem.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsl (32-bit) |
+-----------------------------+-----------------------------+
| |SUNWcslx (64-bit) |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO intro(3), malloc(3C), umem_alloc(3MALLOC), umem_cache_create(3MALLOC), umem_debug(3MALLOC), attributes(5)SunOS 5.10 22 May 2003 libumem(3LIB)
Hi everybody,
I want to import the libmapmalloc.so from Solaris to HP-UX. I saw on the internet that libc.so is an equivalent on HP-UX for libmapmalloc.so from Solaris, but this library is equivalent with many other libraries from Solaris and I don't know how to link my program in order to use... (0 Replies)
I'm new to kernels and C, and I am tinkering around trying to understand OpenBSD's secure memory management. I'm stumped on a couple points.
I've read up on malloc() which was apparently modified years ago to allocate memory using mmap. First question, that would be this here, right?
... (4 Replies)