Here is a summary of the functions that work with
void *malloc (size_t size)
void free (void *addr)
malloc. See section Freeing Memory Allocated with
void *realloc (void *addr, size_t size)
malloclarger or smaller, possibly by copying it to a new location. See section Changing the Size of a Block.
void *calloc (size_t count, size_t eltsize)
malloc, and set its contents to zero. See section Allocating Cleared Space.
void *valloc (size_t size)
void *memalign (size_t size, size_t boundary)
int mallopt (int param, int value)
int mcheck (void (*abortfn) (void))
mallocto perform occasional consistency checks on dynamically allocated memory, and to call abortfn when an inconsistency is found. See section Heap Consistency Checking.
void *(*__malloc_hook) (size_t size)
mallocuses whenever it is called.
void *(*__realloc_hook) (void *ptr, size_t size)
reallocuses whenever it is called.
void (*__free_hook) (void *ptr)
freeuses whenever it is called.
struct mallinfo mallinfo (void)
Go to the first, previous, next, last section, table of contents.