1libmapmalloc(3LIB) Interface Libraries libmapmalloc(3LIB)
2
3
4
6 libmapmalloc - alternative memory allocator library
7
9 cc [ flag... ] file... -lmapmalloc [ library... ]
10 #include <stdlib.h>
11
12
14 Functions in this library provide malloc routines that use mmap(2)
15 instead of sbrk(2) for acquiring heap space.
16
18 The shared object libmapmalloc.so.1 provides the public interfaces
19 defined below. See Intro(3) for additional information on shared object
20 interfaces.
21
22
23
24
25 calloc cfree
26 free mallinfo
27 malloc mallopt
28 memalign realloc
29 valloc
30
31
33 /usr/lib/libmapmalloc.so.1
34
35 shared object
36
37
38 /usr/lib/64/libmapmalloc.so.1
39
40 64-bit shared object
41
42
44 See attributes(5) for descriptions of the following attributes:
45
46
47
48
49 ┌─────────────────────────────┬─────────────────────────────┐
50 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
51 ├─────────────────────────────┼─────────────────────────────┤
52 │Availability │SUNWcsl (32-bit) │
53 ├─────────────────────────────┼─────────────────────────────┤
54 │ │SUNWcslx (64-bit) │
55 ├─────────────────────────────┼─────────────────────────────┤
56 │MT-Level │Safe │
57 └─────────────────────────────┴─────────────────────────────┘
58
60 pvs(1), mmap(2), sbrk(2), Intro(3), malloc(3C), malloc(3MALLOC), map‐
61 malloc(3MALLOC), attributes(5)
62
63
64
65SunOS 5.11 22 May 2003 libmapmalloc(3LIB)