lfs_malloc

Function lfs_malloc 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn lfs_malloc(size: usize) -> *mut c_void
Expand description

Allocates memory of the given size.

ยงSafety

The caller must ensure that the allocated memory is properly freed using lfs_free to avoid memory leaks.