New functions: jiffies() and uptime(), implemented with sysinfo()

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-12-31 18:28:29 +01:00
1 parent b26d30757d
commit f6fa576270
2 files changed
+58

No files matched your search

+4
View File
@@ -40,6 +40,10 @@ extern char *prognm;
char *progname (char *arg0);
void do_sleep (unsigned int sec);
long jiffies (void);
char *uptime (long secs, char *buf, size_t len);
char *sanitize (char *arg, size_t len);
void screen_init (void);