vga_claimvideomemory - Man Page

declare the amount of video memory used


#include <vga.h>

int vga_claimvideomemory(int m);


Declare the amount of video memory in bytes that is to be saved when temporarily switching to textmode. Returns nonzero if the amount is not available. Defaults to one screen when a mode is set. Use this if you are using more than one screen of video memory.

See Also

svgalib(7), vgagl(7), libvga.config(5), vga_getmodeinfo(3), vga_init(3), vga_setmode(3),


This manual page was edited by Michael Weller <>. The exact source of the referenced function as well as of the original documentation is unknown.

It is very likely that both are at least to some extent are due to Harm Hanemaayer <>.

Occasionally this might be wrong. I hereby asked to be excused by the original author and will happily accept any additions or corrections to this first version of the svgalib manual.

Referenced By

svgalib(7), vga_getgraphmem(3), vga_init(3), vga_setdisplaystart(3), vga_setlogicalwidth(3), vga_setreadpage(3), vga_setwritepage(3).

27 July 1997 Svgalib (>= 1.2.11) Svgalib User Manual