Factor out runlevel handling to new UTMP API

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-08-07 22:36:31 +02:00
1 parent 7cdd42195b
commit a016359891
4 files changed
+35 -19

No files matched your search

+2
View File
@@ -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);
/**