Module memory_allocation
Memory-allocation functions are out of scope for rustix.
It is possible to implement malloc, free, and similar functions in
Rust, however rustix itself is focused on syscall-like functions. This
module contains an incomplete list of such functions.
There are several allocator implementations for Rust; one of them is dlmalloc. For a rustix-based implementation, see rustix-dlmalloc. Another allocator implementation is talc.
Functions
- aligned_alloc See the module comment.
- calloc See the module comment.
- free See the module comment.
- malloc See the module comment.
- malloc_usable_size See the module comment.
- posix_memalign See the module comment.
- realloc See the module comment.