NAME

SYNOPSIS

DESCRIPTION

ggiOpen opens a visual. The visual is specified as a display string,
followed by NULL. If only NULL is specified, the default display
target is opened, which means first examining GGI_DISPLAY, then
invoking display-auto(7). The other arguments are for internal
purposes only, such as argptr, used to pass driver-specific, non-
textual information to the driver.
ggiClose releases and destroys an open visual. This will close X
windows, return consoles to text-mode, etc.

RETURNVALUE

ggiOpen returns the opened visual or NULL for error. The ggi_visual_t
is opaque to the programmer and should only be used through GGI
functions.
ggiClose returns 0 for OK, otherwise a ggi-error(3) code.