Function axlibc::malloc

source ·
#[no_mangle]
pub unsafe extern "C" fn malloc(size: size_t) -> *mut c_void
Available on crate feature alloc only.
Expand description

Allocate memory and return the memory address.

Returns 0 on failure (the current implementation does not trigger an exception)