ggiOpen, ggiClose — Open and close a visual
#include <ggi/ggi.h>
ggi_visual_t ggiOpen( | display, | |
) ; |
const char * | display; |
; |
int ggiClose(
vis)
;
ggi_visual_t vis
;
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. (This may be may be specified by the user.)
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.
ggiOpen returns the opened visual (ggi_visual_t), or NULL for error.
ggiClose returns 0 for OK, otherwise an error code.
ggiInit(3) |