pub fn char_ptr_to_str<'a>(str: *const c_char) -> LinuxResult<&'a str>
Convert a C string to a Rust string