write_line

Function write_line 

Source
pub fn write_line(line: &Utmpx) -> Result<Utmpx, ()>
Expand description

Write the provided structure into the utmpx database.

Replaces an entry based on getutxid, if any. Otherwise inserts a new one.