cstr_from_ptr

Function cstr_from_ptr 

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