glcIsContext(3G)
glcIsContext - test whether a context ID is the current GLC context
As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.
NAME glcIsContext - test whether a context ID is the current GLC context C SPECIFICATION GLboolean glcIsContext( GLint inContext ) PARAMETERS inContext Specifies the context ID to be tested. DESCRIPTION glcIsContext checks whether inContext is the ID of one of the client's GLC context and returns GLC_TRUE if and only if it is. Each GLC context has a nonzero ID of type GLint. When a client is linked with a GLC library, the library maintains a list of IDs that contains one entry for each of the client's GLC contexts. The list is initially empty. Each client thread has a private GLC context ID variable that always contains either the value zero, indicating that the thread has no current GLC context, or the ID of the thread's current GLC context. The initial value is zero. SEE ALSO glcDeleteContext, glcGenContext, glcGetAllContexts, glcContext