Skip to main content

raw_alloc

Function raw_alloc 

Source
pub unsafe fn raw_alloc(size: usize, align: usize) -> *mut u8
Expand description

Allocate size bytes with align alignment using the system allocator. Returns a null pointer on allocation failure.