home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
OS2UTIL.ZIP
/
MB.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-05-21
|
238b
|
18 lines
#define INCL_DOSMEMMGR
#include <os2.h>
#include <stdio.h>
int main(void);
main()
{
ULONG mem;
DosMemAvail(&mem);
printf("memory available: %lu bytes = %f MB\n", mem, mem/1024.0/1024.0);
return 0;
}