Searched refs:cstr (Results 1 – 2 of 2) sorted by relevance
101 let cstr = CString::from(buffer); in check_and_clone_cstr() localVariable103 return Ok(cstr); in check_and_clone_cstr()
887 let get_path = |cstr: *const u8| -> Result<String, SystemError> { in link()888 let res = check_and_clone_cstr(cstr, Some(MAX_PATHLEN))? in link()