mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
system/helpers.cpp: add function to get total/free mem without cached/buffers
Origin commit data
------------------
Commit: 5dc2656b8e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-09-21 (Fri, 21 Sep 2012)
This commit is contained in:
@@ -32,5 +32,6 @@ bool file_exists(const char *filename);
|
||||
void wakeup_hdd(const char *hdd_dir);
|
||||
int check_dir(const char * dir);
|
||||
int get_fs_usage(const char * dir);
|
||||
bool get_mem_usage(unsigned long &total, unsigned long &free);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user