vga_getdefaultmode man page on aLinux

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
aLinux logo
[printable version]

vga_getdefaultmode(3)	      Svgalib User Manual	 vga_getdefaultmode(3)

NAME
       vga_getdefaultmode - returns the default graphics mode number

SYNOPSIS
       #include <vga.h>

       int vga_getdefaultmode(void);

DESCRIPTION
       Returns	the default graphics mode number from the SVGALIB_DEFAULT_MODE
       environment variable. If undefined, the from the default_mode  configu‐
       ration  file  option.  If  that	is  not	 available as well, returns 10
       (G640x480x256). The mode value in the environment variable or  configu‐
       ration  file  can  either be a mode number or a mode name. See vga_set‐
       mode(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(3) and vga_getmodenumber(3).

       Whenever your application has no special need  for  a  given  mode  you
       should  always try to honour this setting for consistency among svgalib
       applications.

SEE ALSO
       svgalib(7),  vgagl(7),  libvga.config(5),  vgatest(6),  vga_hasmode(3),
       vga_modeinfo(3),	 vga_setmode(3),  vga_getcurrentmode(3), vga_lastmode‐
       number(3), vga_getmodename(3), vga_getmodenumber(3)

AUTHOR
       This manual page was edited  by	Michael	 Weller	 <eowmob@exp-math.uni-
       essen.de>.  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 <H.Hanemaayer@inter.nl.net>.

       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.

Svgalib 1.3.0			 8 April 1998		 vga_getdefaultmode(3)
[top]

List of man pages available for aLinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net