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

NAME

6       vga_oktowrite  - indicates whether the program has direct access to the
7       SVGA
8

SYNOPSIS

10       #include <vga.h>
11
12       int vga_oktowrite(void);
13
14

DESCRIPTION

16       Indicates whether the program is in the console  currently  visible  on
17       the screen, that is, whether it is OK to write to video memory (if run‐
18       ning in the background has been allowed with the function above).  Note
19       that  this  is  not entirely safe, since a console switch interrupt may
20       occur during a video operation. It is best to avoid this function.
21
22       Usually your program will be suspended when it has  no  access  to  the
23       screen but see vga_runinbackground(3) for an alternative.
24
25

SEE ALSO

27       svgalib(7),   vgagl(7),  libvga.config(5),  bg_test(6),  vga_runinback‐
28       ground(3), vga_runinbackground_version(3)
29
30

AUTHOR

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