Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ sysname
Method
sysname
src/system.rs:59–61 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
57
/// `sysname`—Operating system release name.
58
#[inline]
59
pub fn sysname(&self) -> &CStr {
60
Self::to_cstr(self.0.sysname.as_ptr().cast())
61
}
62
63
/// `nodename`—Name with vague meaning.
64
///
Callers
nothing calls this directly
Calls
1
as_ptr
Method · 0.45
Tested by
no test coverage detected