Interface Libraries libumem(3LIB)
NAME
libumem - object-caching memory allocation library
SYNOPSIS
cc [ flag... ] file... -lumem [ library... ]
#include
DESCRIPTION
Functions in this library provide fast, scalable object-
caching memory allocation with multithreaded application support. In addition to the standard malloc(3C) family offunctions and the more flexible umem_alloc(3MALLOC) family,
libumem provides powerful object-caching services as
described in umem_cache_create(3MALLOC).
The libumem library also provides extensive debugging sup-
port, including detection of memory leaks, buffer overruns, multiple frees, use of uninitialized data, use of freed data, and many other common programming errors. Seeumem_debug(3MALLOC).
INTERFACESThe shared object libumem.so.1 provides the public inter-
faces defined below. See Intro(3) for additional information on shared object interfaces. calloc free malloc memalignrealloc 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 attri-
butes:SunOS 5.11 Last change: 22 May 2003 1
Interface Libraries libumem(3LIB)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | system/library (32-bit) |
|_____________________________|_____________________________|
| | SUNWcslx (64-bit) |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
Intro(3), malloc(3C), umem_alloc(3MALLOC),
umem_cache_create(3MALLOC), umem_debug(3MALLOC), attri-
butes(5)SunOS 5.11 Last change: 22 May 2003 2