Struct libc::utmpx [] [src]

pub struct utmpx {
    pub ut_user: [c_char; _UTX_USERSIZE],
    pub ut_id: [c_char; _UTX_IDSIZE],
    pub ut_line: [c_char; _UTX_LINESIZE],
    pub ut_pid: pid_t,
    pub ut_type: c_short,
    pub ut_tv: timeval,
    pub ut_host: [c_char; _UTX_HOSTSIZE],
    // some fields omitted
}

Fields

ut_user: [c_char; _UTX_USERSIZE] ut_id: [c_char; _UTX_IDSIZE] ut_line: [c_char; _UTX_LINESIZE] ut_pid: pid_t ut_type: c_short ut_tv: timeval ut_host: [c_char; _UTX_HOSTSIZE]

Trait Implementations

impl Copy for utmpx
[src]

impl Clone for utmpx
[src]

fn clone(&self) -> utmpx

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more