http://www.directfb.org
index.html
DirectFB Reference Manual
IDirectFBEventBuffer.html
IDirectFBEventBuffer
CreateFileDescriptor
Create a file descriptor for reading events.
CreateFileDescriptor (
IDirectFBEventBuffer.html
IDirectFBEventBuffer
*
thiz,
int
*
ret_fd
);
This method provides an alternative for reading events from an event buffer. It creates a file descriptor which can be used in select(), poll() or read().
In general only non-threaded applications which already use select() or poll() need it.
Note:
This method flushes the event buffer. After calling this method all other methods except
IDirectFBEventBuffer_PostEvent.html
IDirectFBEventBuffer::PostEvent()
will return DFB_UNSUPPORTED. Calling this method again will return DFB_BUSY.
