#[repr(C)]pub struct utsname {
pub sysname: [c_char; 65],
pub nodename: [c_char; 65],
pub release: [c_char; 65],
pub version: [c_char; 65],
pub machine: [c_char; 65],
pub domainname: [c_char; 65],
}Expand description
Fields§
§sysname: [c_char; 65]Name of this implementation of the operating system.
nodename: [c_char; 65]Name of this node within the communications network to which this node is attached, if any.
release: [c_char; 65]Current release level of this implementation.
version: [c_char; 65]Current version level of this release.
machine: [c_char; 65]Name of the hardware type on which this system is running.
domainname: [c_char; 65]Non-POSIX.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for utsname
impl RefUnwindSafe for utsname
impl Send for utsname
impl Sync for utsname
impl Unpin for utsname
impl UnsafeUnpin 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