Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ uname
Function
uname
src/system.rs:48–50 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
46
#[doc(alias =
"gethostname"
)]
47
#[inline]
48
pub fn uname() -> Uname {
49
Uname(backend::system::syscalls::uname())
50
}
51
52
/// `struct utsname`—Return type for [`uname`].
53
#[doc(alias =
"utsname"
)]
Callers
3
test_uname
Function · 0.50
load_linux_kernel_config
Function · 0.50
load_linux_kernel_config
Function · 0.50
Calls
1
Uname
Class · 0.85
Tested by
1
test_uname
Function · 0.40