Query: giiinit
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
giiInit(3) GGI giiInit(3)NAMEgiiInit, giiExit - Initialize and uninitialize LibGIISYNOPSIS#include <ggi/gii.h> int giiInit(void); int giiExit(void);DESCRIPTIONgiiInit initializes the library. This function must be called before using other LibGII functions; otherwise the results will be undefined. giiExit uninitializes the library (after being initialized 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.RETURN VALUEgiiInit returns 0 for OK, otherwise an gii-error(3) code. giiExit returns: 0 after successfully cleaning up, >0 the number of 'open' giiInit calls, if there has been more than one call to giiInit. As giiInit and giiExit must be used in prop- erly nested pairs, e.g. the first giiExit after two giiInit will return 1. <0 gii-error(3), especially if more giiExit calls have been done than giiInit calls.EXAMPLESInitialize and uninitialize LibGII: if (!giiInit()) { exit(EXIT_FAILURE); /* can't start! */ } /* Do some libgii stuff */ giiExit();SEE ALSOgiiMTInit(3), giiOpen(3) libgii-1.0.x 2006-12-30 giiInit(3)
Related Man Pages |
---|
giiaddeventmask(3) - debian |
giiinit(3) - debian |
giiexit(3) - debian |
giigeteventmask(3) - debian |
giisplitinputs(3) - debian |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Installing Dash Shell on OS X Lion |
Introduction |
A (ksh) Library For and From UNIX.com |