Refactor, factor out and export memsz() util function

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2021-03-19 09:30:52 +01:00
parent 5b8fe12502
commit fcb8ec9967
3 changed files with 27 additions and 21 deletions
+1
View File
@@ -55,6 +55,7 @@ void do_sleep (unsigned int sec);
long jiffies (void);
char *uptime (long secs, char *buf, size_t len);
char *memsz (uint64_t sz, char *buf, size_t len);
char *sanitize (char *arg, size_t len);