2 .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH LIBUMEM 3LIB "May 22, 2003"
8 libumem \- object-caching memory allocation library
12 cc [ \fIflag\fR... ] \fIfile\fR... \fB-lumem\fR [ \fIlibrary\fR... ]
13 #include <\fBumem.h\fR>
19 Functions in this library provide fast, scalable object-caching memory
20 allocation with multithreaded application support. In addition to the standard
21 \fBmalloc\fR(3C) family of functions and the more flexible
22 \fBumem_alloc\fR(3MALLOC) family, \fBlibumem\fR provides powerful
23 object-caching services as described in \fBumem_cache_create\fR(3MALLOC).
26 The \fBlibumem\fR library also provides extensive debugging support, including
27 detection of memory leaks, buffer overruns, multiple frees, use of
28 uninitialized data, use of freed data, and many other common programming
29 errors. See \fBumem_debug\fR(3MALLOC).
33 The shared object \fBlibumem.so.1\fR provides the public interfaces defined
34 below. See \fBIntro\fR(3) for additional information on shared object
42 \fBcalloc\fR \fBfree\fR
43 \fBmalloc\fR \fBmemalign\fR
44 \fBrealloc\fR \fBumem_alloc\fR
45 \fBumem_cache_alloc\fR \fBumem_cache_create\fR
46 \fBumem_cache_destroy\fR \fBumem_cache_free\fR
47 \fBumem_free\fR \fBumem_nofail_callback\fR
48 \fBumem_zalloc\fR \fBvalloc\fR
55 \fB\fB/usr/lib/libumem.so.1\fR\fR
64 \fB\fB/usr/lib/64/libumem.so.1\fR\fR
73 See \fBattributes\fR(5) for descriptions of the following attributes:
81 ATTRIBUTE TYPE ATTRIBUTE VALUE
83 Interface Stability Evolving
91 \fBIntro\fR(3), \fBmalloc\fR(3C), \fBumem_alloc\fR(3MALLOC),
92 \fBumem_cache_create\fR(3MALLOC), \fBumem_debug\fR(3MALLOC),