Struct posix::utmpx::utmpx [-] [+] [src]

pub struct utmpx {
    pub ut_type: short_t,
    pub ut_pid: pid_t,
    pub ut_line: [char_t; 32usize],
    pub ut_id: [char_t; 4usize],
    pub ut_user: [char_t; 32usize],
    pub ut_host: [char_t; 256usize],
    pub ut_session: i32,
    pub ut_tv: timeval,
    pub ut_addr_v6: [i32; 4usize],
    // some fields omitted
}

Fields

ut_type
ut_pid
ut_line
ut_id
ut_user
ut_host
ut_session
ut_tv
ut_addr_v6

Methods

impl utmpx

fn new() -> utmpx

Trait Implementations

Derived Implementations

impl Copy for utmpx