Skip to main content

parse_c_str

Function parse_c_str 

Source
pub unsafe fn parse_c_str(path: *const c_char) -> Result<&'static str, Error>
Expand description

ยงSafety

The caller must ensure that the provided pointer is a vlid null-terminated C string.