Node:Unconstrained Allocation, Next:Allocation Debugging, Previous:Memory Allocation and C, Up:Memory Allocation
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).
malloc.
malloc. xmalloc.
free to free a block you
got with malloc.
realloc to make a block
bigger or smaller.
calloc to allocate a
block and clear it.
mallopt to adjust allocation
parameters.
malloc.
malloc and related functions.