GR_EVENT_FDINPUT

Name

GR_EVENT_FDINPUT -- File descriptor input event struvture

Synopsis

typedef struct 
{
    GR_EVENT_TYPE   type;
    int             fd;
} GR_EVENT_FDINPUT;
  

Description

The GR_EVENT_FDINPUT structure is used by nano-X to tell the application that data is available for reading on a file descriptor that the application previously registered with the function GrRegisterInput().

Fields

TypeNameDescription
GR_EVENT_TYPEtypeThe event type will be GR_EVENT_TYPE_FDINPUT.
intfdThe file descriptor that has data available for reading.

See Also

GR_EVENT,