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 LIBMAPMALLOC 3LIB "May 22, 2003"
8 libmapmalloc \- alternative memory allocator library
12 cc [ \fIflag\fR... ] \fIfile\fR... \fB-lmapmalloc\fR [ \fIlibrary\fR... ]
13 #include <\fBstdlib.h\fR>
19 Functions in this library provide \fBmalloc\fR routines that use \fBmmap\fR(2)
20 instead of \fBsbrk\fR(2) for acquiring heap space.
24 The shared object \fBlibmapmalloc.so.1\fR provides the public interfaces
25 defined below. See \fBIntro\fR(3) for additional information on shared object
33 \fBcalloc\fR \fBcfree\fR
34 \fBfree\fR \fBmallinfo\fR
35 \fBmalloc\fR \fBmallopt\fR
36 \fBmemalign\fR \fBrealloc\fR
44 \fB\fB/usr/lib/libmapmalloc.so.1\fR\fR
54 \fB\fB/usr/lib/64/libmapmalloc.so.1\fR\fR
64 See \fBattributes\fR(5) for descriptions of the following attributes:
72 ATTRIBUTE TYPE ATTRIBUTE VALUE
80 \fBpvs\fR(1), \fBmmap\fR(2), \fBsbrk\fR(2), \fBIntro\fR(3), \fBmalloc\fR(3C),
81 \fBmalloc\fR(3MALLOC), \fBmapmalloc\fR(3MALLOC), \fBattributes\fR(5)