Function libmimalloc_sys::mi_strdup
source · pub unsafe extern "C" fn mi_strdup(s: *const c_char) -> *mut c_charExpand description
Allocate and duplicate a nul-terminated C string.
This can be useful for Rust code when interacting with the FFI.