Function libmimalloc_sys::mi_heap_strndup

source ·
pub unsafe extern "C" fn mi_heap_strndup(
    heap: *mut mi_heap_t,
    s: *const c_char,
    n: usize
) -> *mut c_char
Expand description

Equivalent to mi_strndup, but allocates out of the specific heap instead of the default.