Struct libc::utmpx [] [src]

pub struct utmpx {
    pub ut_user: [c_char; 256],
    pub ut_id: [c_char; 4],
    pub ut_line: [c_char; 32],
    pub ut_pid: pid_t,
    pub ut_type: c_short,
    pub ut_tv: timeval,
    pub ut_host: [c_char; 256],
    // some fields omitted
}

Fields

ut_user: [c_char; 256] ut_id: [c_char; 4] ut_line: [c_char; 32] ut_pid: pid_t ut_type: c_short ut_tv: timeval ut_host: [c_char; 256]

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