1libumem(3LIB) Interface Libraries libumem(3LIB)
2
3
4
6 libumem - object-caching memory allocation library
7
9 cc [ flag... ] file... -lumem [ library... ]
10 #include <umem.h>
11
12
14 Functions in this library provide fast, scalable object-caching memory
15 allocation with multithreaded application support. In addition to the
16 standard malloc(3C) family of functions and the more flexible
17 umem_alloc(3MALLOC) family, libumem provides powerful object-caching
18 services as described in umem_cache_create(3MALLOC).
19
20
21 The libumem library also provides extensive debugging support, includ‐
22 ing detection of memory leaks, buffer overruns, multiple frees, use of
23 uninitialized data, use of freed data, and many other common program‐
24 ming errors. See umem_debug(3MALLOC).
25
27 The shared object libumem.so.1 provides the public interfaces defined
28 below. See Intro(3) for additional information on shared object inter‐
29 faces.
30
31
32
33
34 calloc free
35 malloc memalign
36 realloc umem_alloc
37 umem_cache_alloc umem_cache_create
38 umem_cache_destroy umem_cache_free
39 umem_free umem_nofail_callback
40 umem_zalloc valloc
41
42
44 /usr/lib/libumem.so.1 shared object
45
46
47 /usr/lib/64/libumem.so.1 64-bit shared object
48
49
51 See attributes(5) for descriptions of the following attributes:
52
53
54
55
56 ┌─────────────────────────────┬─────────────────────────────┐
57 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
58 ├─────────────────────────────┼─────────────────────────────┤
59 │Availability │SUNWcsl (32-bit) │
60 ├─────────────────────────────┼─────────────────────────────┤
61 │ │SUNWcslx (64-bit) │
62 ├─────────────────────────────┼─────────────────────────────┤
63 │Interface Stability │Evolving │
64 ├─────────────────────────────┼─────────────────────────────┤
65 │MT-Level │MT-Safe │
66 └─────────────────────────────┴─────────────────────────────┘
67
69 Intro(3), malloc(3C), umem_alloc(3MALLOC), umem_cache_create(3MALLOC),
70 umem_debug(3MALLOC), attributes(5)
71
72
73
74SunOS 5.11 22 May 2003 libumem(3LIB)