man pages section 3: Library Interfaces and Headers
  Search only this book
Download this book in PDF (1926 KB)

libumem(3LIB)

Name | Synopsis | Description | INTERFACES | Files | Attributes | See Also

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 services 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

SunOS 5.11  Last Revised 22 May 2003

Name | Synopsis | Description | INTERFACES | Files | Attributes | See Also