xref: /illumos-gate/usr/src/man/man3lib/libmalloc.3lib (revision d4f95bf4d6ec7ef0f01e5ddf22813ac641edf019)
te
Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved.
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.
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.
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]
LIBMALLOC 3LIB "May 11, 2005"
NAME
libmalloc - memory allocation library
SYNOPSIS

cc [ flag... ] file... -lmalloc [ library... ]
DESCRIPTION

Functions in this library provide routines for memory allocation. These routines are space-efficient but have lower performance. Their usage can result in serious performance degradation.

INTERFACES

The shared object libmalloc.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

calloc cfree
free mallinfo
malloc mallopt
memalign realloc
valloc
FILES
/usr/lib/libmalloc.so.1

shared object

/usr/lib/64/libmalloc.so.1

64-bit shared object

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level Safe
SEE ALSO

Intro(3), malloc(3MALLOC), attributes(5)