Next: Allocation Debugging, Previous: The GNU Allocator, Up: Allocating Storage For Program Data [Contents][Index]
The most general dynamic allocation facility is malloc
. It
allows you to allocate blocks of memory of any size at any time, make
them bigger or smaller at any time, and free the blocks individually at
any time (or never).