'\" te .\" Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. .TH libmapmalloc 3LIB "23 Aug 2011" "SunOS 5.11" "Interface Libraries" .SH NAME libmapmalloc \- alternative memory allocator library .SH SYNOPSIS .LP .nf cc [ \fIflag\fR... ] \fIfile\fR... \fB-lmapmalloc\fR [ \fIlibrary\fR... ] #include <\fBstdlib.h\fR> .fi .SH DESCRIPTION .sp .LP Functions in this library provide \fBmalloc\fR routines that use \fBmmap\fR(2) instead of \fBsbrk\fR(2) for acquiring heap space. .SH INTERFACES .sp .LP The shared object \fBlibmapmalloc.so.1\fR provides the public interfaces defined below. See \fBIntro\fR(3) for additional information on shared object interfaces. .sp .sp .TS tab(); lw(2.75i) lw(2.75i) lw(2.75i) lw(2.75i) . \fBcalloc\fR\fBcfree\fR \fBfree\fR\fBmallinfo\fR \fBmalloc\fR\fBmallopt\fR \fBmemalign\fR\fBrealloc\fR \fBvalloc\fR .TE .SH FILES .sp .ne 2 .mk .na \fB\fB/usr/lib/libmapmalloc.so.1\fR\fR .ad .sp .6 .RS 4n shared object .RE .sp .ne 2 .mk .na \fB\fB/usr/lib/64/libmapmalloc.so.1\fR\fR .ad .sp .6 .RS 4n 64-bit shared object .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Availabilitysystem/library _ MT-LevelSafe .TE .SH SEE ALSO .sp .LP \fBpvs\fR(1), \fBmmap\fR(2), \fBsbrk\fR(2), \fBIntro\fR(3), \fBmalloc\fR(3C), \fBmalloc\fR(3MALLOC), \fBmapmalloc\fR(3MALLOC), \fBattributes\fR(5)