mi_posix_memalign

Function mi_posix_memalign 

Source
pub unsafe extern "C" fn mi_posix_memalign(
    ptr: *mut *mut c_void,
    alignment: usize,
    size: usize,
) -> c_int
Expand description

Allocate size of bytes aligned by alignment and place the address of the allocated memory to ptr.

Returns zero on success, invalid argument for invalid alignment, or out-of-memory.