pub fn write_line(line: &Utmpx) -> Result<Utmpx, ()>
Write the provided structure into the utmpx database.
Replaces an entry based on getutxid, if any. Otherwise inserts a new one.
getutxid