Versions in this module Expand all Collapse all v1 v1.0.4 Aug 24, 2022 v1.0.3 Apr 1, 2021 Changes in this version + const Accounting + const BootTime + const DeadProcess + const Empty + const HostSize + const InitProcess + const LineSize + const LoginProcess + const NameSize + const NewTime + const OldTime + const RunLevel + const UserProcess + type ExitStatus struct + Exit int16 + Termination int16 + type TimeVal struct + Sec int32 + Usec int32 + type UtmpEntry struct + Addr [4]int32 + Device [LineSize]byte + Exit ExitStatus + Host [HostSize]byte + Id [4]byte + Pid int32 + Session int32 + Time TimeVal + Type Utype + Unused [20]byte + User [NameSize]byte + func ReadFile(filename string) ([]UtmpEntry, error) + type Utype int16