vga_initcursor - Man Page

initialize mouse cursor


#include <vga.h>

int vga_initcursor(int sw);


if sw is non-zero, this initializes the software cursor. Otherwise calls the chipset driver's  cursor init function. If the driver supports does not support a hardware cursor, a software cursor is used.

Return Value

vga_initcursor returns zero if a software cursor is used, and non-zero if hardware cursor is used.

See Also

svgalib(7), mouse_init(3), vga_selectcursor(3), vga_showcursor(3), vga_setcursorposition(3), vga_setcursorimage(3),


This manual page written by Matan Ziv-Av <>.

Referenced By

vga_selectcursor(3), vga_setcursorimage(3), vga_setcursorposition(3), vga_showcursor(3).

23 June 2001 Svgalib (>= 1.9.6) Svgalib User Manual