Dynamic memory management - cppreference.com (original) (raw)
Dynamic memory management
[edit] Functions
Defined in header <stdlib.h> | |
---|---|
malloc | allocates memory (function) [edit] |
calloc | allocates and zeroes memory (function) [edit] |
realloc | expands previously allocated memory block (function) [edit] |
free | deallocates previously allocated memory (function) [edit] |
free_sized(C23) | deallocates previously allocated sized memory (function) [edit] |
free_aligned_sized(C23) | deallocates previously allocated sized and aligned memory (function) [edit] |
aligned_alloc(C11) | allocates aligned memory (function) [edit] |