Struct libc::utmpx [] [src]

pub struct utmpx {
    pub ut_type: c_short,
    pub ut_pid: pid_t,
    pub ut_line: [c_char; __UT_LINESIZE],
    pub ut_id: [c_char; 4],
    pub ut_user: [c_char; __UT_NAMESIZE],
    pub ut_host: [c_char; __UT_HOSTSIZE],
    pub ut_exit: __exit_status,
    pub ut_session: int32_t,
    pub ut_tv: __timeval,
    pub ut_addr_v6: [int32_t; 4],
    // some fields omitted
}

Fields

ut_type
ut_pid
ut_line
ut_id
ut_user
ut_host
ut_exit
ut_session
ut_tv
ut_addr_v6

Trait Implementations

impl Copy for utmpx

impl Clone for utmpx

fn clone(&self) -> utmpx

fn clone_from(&mut self, source: &Self)1.0.0