pub unsafe fn optional_cstr_to_str(ptr: *const c_char) -> Option<&'static str>
Convert a C string pointer into an owned Option<String>.
Option<String>
ptr