pub unsafe fn cstr_to_str<'a>(str: *const c_char) -> &'a str