1vga_getcurrentmode(3) Svgalib User Manual vga_getcurrentmode(3)
2
3
4
6 vga_getcurrentmode - returns the current video mode
7
9 #include <vga.h>
10
11 int vga_getcurrentmode(void);
12
13
15 Returns the current video mode. See vga_setmode(3) for a list of pre‐
16 defined return values and there meaning.
17
18
20 svgalib(7), vgagl(7), libvga.config(5), vgatest(6), vga_hasmode(3),
21 vga_modeinfo(3), vga_setmode(3), vga_lastmodenumber(3), vga_getmode‐
22 name(3), vga_getmodenumber(3)
23
25 This manual page was edited by Michael Weller <eowmob@exp-math.uni-
26 essen.de>. The exact source of the referenced function as well as of
27 the original documentation is unknown.
28
29 It is very likely that both are at least to some extent are due to Harm
30 Hanemaayer <H.Hanemaayer@inter.nl.net>.
31
32 Occasionally this might be wrong. I hereby asked to be excused by the
33 original author and will happily accept any additions or corrections to
34 this first version of the svgalib manual.
35
36
37
38Svgalib (>= 1.2.11) 27 July 1997 vga_getcurrentmode(3)