NeoMutt  2024-12-12-14-g7b49f7
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
Memory management wrappers

"Safe" memory management routines.

Note
If any of the allocators fail, the user is notified and the program is stopped immediately.

Functions

Function Description Links
mutt_mem_calloc() Allocate zeroed memory on the heap
mutt_mem_free() Release memory allocated on the heap
mutt_mem_malloc() Allocate memory on the heap
mutt_mem_mallocarray() Allocate memory on the heap (array version)
mutt_mem_realloc() Resize a block of memory on the heap
mutt_mem_reallocarray() Resize a block of memory on the heap (array version)
reallocarray() reallocarray(3) implementation