mirror of
https://github.com/troglobit/finit.git
synced 2026-11-10 16:31:21 +00:00
Factor out runlevel handling to new UTMP API
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
7cdd42195b
commit
a016359891
4 files changed
+35
-19
No files matched your search
@@ -21,6 +21,8 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
int utmp_set (int type, int pid, char *user);
|
||||
int utmp_set_runlevel(int pre, int now);
|
||||
int utmp_show(char *file);
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user