Replace reboot(RB_SW_SUSPEND) w/ internal /sys/power/state API

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2022-04-16 23:59:32 +02:00
1 parent 01cb088e51
commit bd9bb92ca0
4 files changed
+42 -4

No files matched your search

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