delorie.com/djgpp/doc/libc/libc_66.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <bios.h> unsigned _bios_memsize(void); |
This function returns the amount of system memory in 1K blocks (up to 640K).
Size of memory (in K).
ANSI/ISO C | No |
POSIX | No |
printf("This system has %d bytes of memory\n", _bios_memsize() * 1024); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |