Struct linux_syscalls::env::kernel::utsname
source · #[repr(C)]pub struct utsname {
pub sysname: [u8; 65],
pub nodename: [u8; 65],
pub release: [u8; 65],
pub version: [u8; 65],
pub machine: [u8; 65],
pub domainname: [u8; 65],
}Expand description
Structure describing the system and machine.
Fields§
§sysname: [u8; 65]Name of the implementation of the operating system.
nodename: [u8; 65]Name of this node on the network.
release: [u8; 65]Current release level of this implementation.
version: [u8; 65]Current version level of this release.
machine: [u8; 65]Name of the hardware type the system is running on.
domainname: [u8; 65]Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for utsname
impl Send for utsname
impl Sync for utsname
impl Unpin for utsname
impl UnwindSafe for utsname
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more