vga_getdefaultmode - returns the default graphics mode number
Returns the default graphics mode number from the SVGALIB_DEFAULT_MODE
environment variable; -1 if undefined. The environment variable can either be
a mode number or a mode name. See vga_setmode
(3) for a list of
predefined return values and their meaning. The mode names which can be used
in the environment are those used by vga_getmodename
Whenever your application has no special need for a given mode you should always
try to honour this setting for consistency among svgalib applications.
This manual page was edited by Michael Weller
<firstname.lastname@example.org>. 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
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.