ggiBufInit, ggiBufExit : Initialize LibGGIBuf extension
#include <ggi/buf.h> int ggiBufInit(void); int ggiBufExit(void);
ggiBufInit initializes the library. This function must be called before using other LibGGIBuf functions; otherwise the results will be undefined.
ggiBufExit uninitializes the library (after being initialized by ggiBufInit) and automatically cleans up if necessary. This should be called after an application is finished with the library. If any LibBuf functions are called after the library has been uninitialized, the results will be undefined.
ggiBufInit allows multiple invocations. A reference count is maintained, and to completely uninitialize the library, ggiBufExit must be called as many times as ggiBufInit has been called beforehand.
ggiBufInit returns 0 for OK, otherwise an error code.
ggiBufExit returns: