FreeBASIC  0.91.0
sys_fmem.c
Go to the documentation of this file.
1 /* fre() function */
2 
3 #include "../fb.h"
4 
5 FBCALL size_t fb_GetMemAvail( int mode )
6 {
7  MM_STATISTICS ms;
8  MmQueryStatistics(&ms);
9  return ms.AvailablePages * 4096;
10 }