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:
[CST] Focus
2012-09-21 17:41:28 +04:00
parent a8b26307d6
commit 07bec56ed7
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