# Struct libc::utmpx [−] [src]

    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: int32_t,
        pub ut_tv: __timeval,
        pub ut_addr_v6: [int32_t; 4],
        // some fields omitted
    }

Unstable (`libc`)

: use `libc` from crates.io

## Fields

`ut_type: c_short`
Unstable (`libc`)

: use `libc` from crates.io

`ut_pid: pid_t`
Unstable (`libc`)

: use `libc` from crates.io

`ut_line: [c_char; 32]`
Unstable (`libc`)

: use `libc` from crates.io

`ut_id: [c_char; 4]`
Unstable (`libc`)

: use `libc` from crates.io

`ut_user: [c_char; 32]`
Unstable (`libc`)

: use `libc` from crates.io

`ut_host: [c_char; 256]`
Unstable (`libc`)

: use `libc` from crates.io

`ut_exit: __exit_status`
Unstable (`libc`)

: use `libc` from crates.io

`ut_session: int32_t`
Unstable (`libc`)

: use `libc` from crates.io

`ut_tv: __timeval`
Unstable (`libc`)

: use `libc` from crates.io

`ut_addr_v6: [int32_t; 4]`
Unstable (`libc`)

: use `libc` from crates.io

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)