FreeBASIC  0.91.0
sys_fmem.c
Go to the documentation of this file.
1 /* fre() function */
2 
3 #include "../fb.h"
4 #include <sys/sysinfo.h>
5 
6 FBCALL size_t fb_GetMemAvail( int mode )
7 {
8  return get_avphys_pages() * sysconf(_SC_PAGE_SIZE);
9 }