1vga_hasmode(3)                Svgalib User Manual               vga_hasmode(3)
2
3
4

NAME

6       vga_hasmode - returns if a video mode is supported
7

SYNOPSIS

9       #include <vga.h>
10
11       int vga_hasmode(int mode);
12
13

DESCRIPTION

15       The  function  returns  a non-zero value if the given mode is supported
16       and 0 else.  See vga_setmode(3) for a list of  predefined  mode  values
17       and  their  meaning.   vga_modeinfo(3)  can be used to find out details
18       about the specific mode.
19
20

SEE ALSO

22       svgalib(7), vgagl(7),  libvga.config(5),  vgatest(6),  vga_modeinfo(3),
23       vga_setmode(3), vga_lastmodenumber(3), vga_getmodename(3), vga_getmodeā€
24       number(3) vga_getcurrentmode(3)
25

AUTHOR

27       This manual page was edited  by  Michael  Weller  <eowmob@exp-math.uni-
28       essen.de>.  The  exact  source of the referenced function as well as of
29       the original documentation is unknown.
30
31       It is very likely that both are at least to some extent are due to Harm
32       Hanemaayer <H.Hanemaayer@inter.nl.net>.
33
34       Occasionally  this  might be wrong. I hereby asked to be excused by the
35       original author and will happily accept any additions or corrections to
36       this first version of the svgalib manual.
37
38
39
40Svgalib (>= 1.2.11)              27 July 1997                   vga_hasmode(3)
Impressum