Home
last modified time | relevance | path

Searched refs:to_cstr (Results 1 – 1 of 1) sorted by relevance

/third_party/rust/crates/rustix/src/process/
Duname.rs28 Self::to_cstr(self.0.sysname.as_ptr().cast()) in sysname()
38 Self::to_cstr(self.0.nodename.as_ptr().cast()) in nodename()
44 Self::to_cstr(self.0.release.as_ptr().cast()) in release()
50 Self::to_cstr(self.0.version.as_ptr().cast()) in version()
56 Self::to_cstr(self.0.machine.as_ptr().cast()) in machine()
63 Self::to_cstr(self.0.domainname.as_ptr().cast()) in domainname()
67 fn to_cstr<'a>(ptr: *const u8) -> &'a CStr { in to_cstr() method