utmpx
Rust bindings and wrapper around utmpx.h. utmpx.h declares a structure and
functions to query (and update) the database of currently logged in users.
Because POSIX only defines a minimal set of fields, different implementations add different fields on top. This library is written with musl and GNU/Linux in mind. Patches with implementations for other platforms are welcome.
See also
- https://man7.org/linux/man-pages/man5/utmp.5.html
- https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/utmpx.h.html
Licence
This project is licensed under the ISC licence. See LICENCE for details.