// Convert *const c_char to String
Convert *const c_char to String
Convert * const c_char to String
pub unsafe fn from_cstr(p: *const c_char) -> Option<String> {
    if p.is_null() {
            None
    }else{
        let cstr = CStr::from_ptr(p);
        Some(cstr.to_string_lossy().into_owned())
    }
}
pub unsafe fn from_cstr ( p : * const c_char ) -> Option < String > { if p . is_null ( ) { None } else { let cstr = CStr :: from_ptr ( p ) ; Some ( cstr . to_string_lossy ( ) . into_owned ( ) ) } }
Convert *const c_char to String
Convert * const c_char to String
p
*const c_char