Command Section
vga_waitretrace(3)            Svgalib User Manual           vga_waitretrace(3)

       vga_waitretrace - wait for vertical retrace.

       #include <vga.h>

       void vga_waitretrace(void);

       Wait for vertical retrace, that is when the video beam goes dark and
       returns from the bottom line to the top line. Useful to synchronize
       animation with monitor refresh.

       However, Linux is a multiuser OS, thus some time might have passed
       already when the function returns. Also, not all cards support this in
       all modes (or with more or less good results).

       svgalib(7), vgagl(7), libvga.config(5), scrolltest(6),

       This manual page was edited by Michael Weller <[email protected]>. 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 <[email protected]>.

       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.2.11)              27 July 1997               vga_waitretrace(3)
Command Section