libc

Function strndup

Source
pub unsafe extern "C" fn strndup(
    cs: *const c_char,
    n: size_t,
) -> *mut c_char