MCPcopy 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]
48pub 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_unameFunction · 0.50
load_linux_kernel_configFunction · 0.50
load_linux_kernel_configFunction · 0.50

Calls 1

UnameClass · 0.85

Tested by 1

test_unameFunction · 0.40