Function malloc

Source
pub unsafe fn malloc(size: u64) -> *mut c_void
Expand description

Implement malloc in terms of rust’s alloc.

It stores the size of the allocation in the first 8 bytes of the allocation.