mirror of
https://github.com/troglobit/finit.git
synced 2026-10-17 10:49:34 +00:00
Replace reboot(RB_SW_SUSPEND) w/ internal /sys/power/state API
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
01cb088e51
commit
bd9bb92ca0
4 files changed
+42
-4
No files matched your search
@@ -59,6 +59,8 @@ int fnread (char *buf, size_t len, char *fmt, ...) __attribute__ ((forma
|
||||
int fnwrite (char *value, char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
|
||||
int fngetint (char *path, int *val);
|
||||
|
||||
int suspend (void);
|
||||
|
||||
int strtobytes (char *arg);
|
||||
char *sig2str (int sig);
|
||||
int str2sig (char *sig);
|
||||
|
||||
Reference in new issue
Block a user