www.delorie.com/djgpp/doc/libc-2.01/libc_59.html   search  
Go to the first, previous, next, last section, table of contents.


_bios_memsize

Syntax

#include <bios.h>

unsigned _bios_memsize(void);

Description

This function returns the amount of system memory in 1K blocks (up to 640K).

Return Value

Size of memory (in K).

Example

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 © 1997   by DJ Delorie     Updated Apr 1997  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)