blob: 40778a38319f677afe00850e8c3800c63d5a2f9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
This is a complete set of memory allocation functions (malloc and
friends).
The allocator is small, fast and space-efficient.
It performs coalescing on frees.
It has hooks for profiling, tracing and memory leak detection.
It has very comprehensive and paranoid errorchecking as a compile
time option, enough to detect most forms of heap corruption.
Optionally, it attempts to be compatible with the proposed ANSI C
Standard definition for the standard library functions malloc(),
calloc(), realloc() and free(). By default, it is more or less
compatible with existing Unix malloc() functions - some
differences do exist. (Notably free(), cfree() returning void,
realloc() not accepting a freed block)
|