Function memalloc::allocate
[−]
[src]
pub unsafe fn allocate(size: usize) -> *mut u8
Returns a pointer to size
bytes of memory aligned to mem::align_of::<u8>()
.
On failure, aborts the process.
Behavior is undefined if the requested size is 0.