| www.delorie.com/djgpp/doc/libc-2.02/libc_61.html | search |
#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).
not ANSI, not POSIX
printf("This system has %d bytes of memory\n", _bios_memsize() * 1024);
Go to the first, previous, next, last section, table of contents.
| webmaster donations bookstore | delorie software privacy |
| Copyright © 1998 by DJ Delorie | Updated Dec 1998 |