system/helpers.cpp: add function to get total/free mem without cached/buffers

This commit is contained in:
[CST] Focus
2012-09-21 17:41:28 +04:00
parent ae3c411fc3
commit 5dc2656b8e
2 changed files with 33 additions and 0 deletions

View File

@@ -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