Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

libmalloc(3LIB)

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.

See malloc(3MALLOC) for information on these interfaces.

calloc
cfree
free
mallinfo
malloc
malloc_usable_size
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(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library
MT-Level
Safe

Usage

See malloc(3C) for an overview and comparison of all the allocation libraries provided by Oracle Solaris.

See Also

malloc(3C), malloc(3MALLOC), intro(3), attributes(7)