giiInit, giiExit - Initialize and uninitialize LibGII
int giiInit(void);
int giiExit(void); .SH "DESCRIPTION"
giiInit initalizes the library. This function must be called before using other LibGII functions; otherwise the results will be undefined.
giiExit uninitializes the library (after being initalized by giiInit) and automatically cleanup if necessary. This should be called after an application is finished with the library. If any GGI functions are called after the library has been uninitialized, the results will be undefined.
giiInit allows multiple invocations. A reference count is maintained, and to completely uninitialize the library, giiExit must be called as many times as giiInit has been called beforehand.
giiInit returns 0 for OK, otherwise an error code.
giiExit returns:
if (!giiInit()) { exit(EXIT_FAILURE); /* can't start! */ } /* Do some libgii stuff */ giiExit();
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |