Expand description
This library contains bindings to the types and functions in utmpx.h
.
The sys
module contains the raw bindings. The root module contains idiomatic wrappers.
The underlying utmpx
functions work with per-thread cursors. Care should be taken when using
this in multiple threads, but all functions should be usable from different threads.
For platforms that implement utmp.h
but not utmpx.h
, the intent is for wrappers to call the
utmp.h
equivalents.
Modules
- Contains definitions for system-provided function and types.
Enums
- Error creating Utmpx instance.
Functions
- Close the utmpx database for the current thread.
- Find the next entry by
ut_type
andut_id
. - Find the next entry by
ut_line
. - Read in the next entry from the utmpx database.
- Resets the cursor for the current thread.
- Change the filename of the database opened by the current thread.
- Write the provided structure into the utmpx database.