Searched refs:CString (Results 1 – 2 of 2) sorted by relevance
22 use alloc::ffi::CString;113 let _c_string = CString::new(s); in gbl_alloc_extra_action()
304 use std::ffi::CString;306 fn to_cstr(s: &str) -> CString { in to_cstr() argument307 CString::new(s).unwrap() in to_cstr()