GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
vga_getdefaultmode(3) Svgalib User Manual vga_getdefaultmode(3)

vga_getdefaultmode - returns the default graphics mode number

#include <vga.h>

int vga_getdefaultmode(void);

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(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.

svgalib(7), vgagl(7), libvga.config(5), vgatest(6), vga_hasmode(3), vga_modeinfo(3), vga_setmode(3), vga_getcurrentmode(3), vga_lastmodenumber(3), vga_getmodename(3), vga_getmodenumber(3)

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.

8 April 1998 Svgalib 1.3.0

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.