GrServiceSelect()

Name

GrServiceSelect() -- Dispatch nano-X events

Synopsis

void GrServiceSelect ( void * rfdset , GR_FNCALLBACKEVENT fncb );

Description

This function is used by GrMainLoop() to dispatch events to its event callback function. You can use this function if you intend to roll your own event dispatcher rather than to use GrMainLoop().

Parameters

TypeNameDescription
void*rfdsetA pointer to the file descriptor set that select received.
GR_FNCALLBACKEVENTfncbA pointer to the event callback function. This callback function will be called each time an event enters the nano-X event queue.

See Also

GR_FNCALLBACKEVENT, GrPrepareSelect(), GrMainLoop().