Function snmalloc_sys::sn_malloc
source · pub unsafe extern "C" fn sn_malloc(size: usize) -> *mut c_void
Expand description
Allocate size
bytes.
Returns pointer to the allocated memory or null if out of memory.
Returns a unique pointer if called with size
0.