pub unsafe extern "C" fn mi_strndup( s: *const c_char, n: usize, ) -> *mut c_char
Allocate and duplicate a nul-terminated C string, up to n bytes.
n
This can be useful for Rust code when interacting with the FFI.