Struct libc_interface::utmpx [−][src]
#[repr(C)]pub struct utmpx { pub ut_type: c_short, pub ut_pid: pid_t, pub ut_line: [c_char; 32], pub ut_id: [c_char; 4], pub ut_user: [c_char; 32], pub ut_host: [c_char; 256], pub ut_exit: __exit_status, pub ut_session: c_long, pub ut_tv: timeval, pub ut_addr_v6: [int32_t; 4], // some fields omitted }
Fields
ut_type: c_short
ut_pid: pid_t
ut_line: [c_char; 32]
ut_id: [c_char; 4]
ut_user: [c_char; 32]
ut_host: [c_char; 256]
ut_exit: __exit_status
ut_session: c_long
ut_tv: timeval
ut_addr_v6: [int32_t; 4]
Trait Implementations
impl Copy for utmpx
[src]
impl Copy for utmpx
impl Clone for utmpx
[src]
impl Clone for utmpx
fn clone(&self) -> utmpx
[src]
fn clone(&self) -> utmpx
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for utmpx
[src]
impl PartialEq for utmpx
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for utmpx
[src]
impl Eq for utmpx