mi_strdup

Function mi_strdup 

Source
pub unsafe extern "C" fn mi_strdup(s: *const c_char) -> *mut c_char
Expand description

Allocate and duplicate a nul-terminated C string.

This can be useful for Rust code when interacting with the FFI.