mirror of
https://github.com/troglobit/finit.git
synced 2026-11-03 13:28:27 +00:00
Use finit API to get runlevel instead of utmp
utmp is not available with musl libc
This commit is contained in:
1 parent
f7f222c924
commit
1177c734ce
5 files changed
+42
-18
No files matched your search
@@ -62,7 +62,6 @@ do { \
|
||||
#define _pe(fmt, args...) do { fprintf(stderr, "finit:%s:%s() - " fmt ". Error %d: %s\n", __FILE__, __func__, ##args, errno, strerror(errno)); } while (0)
|
||||
|
||||
void runlevel_set (int pre, int now);
|
||||
int runlevel_get (void);
|
||||
char *runlevel_string (int levels);
|
||||
|
||||
int pid_alive (pid_t pid);
|
||||
|
||||
Reference in new issue
Block a user