vga_getcolors(3) return the current screen resolution

Other Alias

vga_getxdim, vga_getydim

SYNOPSIS

#include <vga.h>

int vga_getxdim(void);
int vga_getydim(void);
int vga_getcolors(void);

DESCRIPTION

These function return the currently selected screen resolution resp. number of displayable colors.

AUTHOR

This manual page was edited by Michael Weller <[email protected]>. 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 <[email protected]>.

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.