GrRegisterInput()

Name

GrRegisterInput() -- Register a file descriptor to generate events

Synopsis

void GrRegisterInput ( int fd );

Description

This function allows you to register additional file descriptors to monitor in the main select loop of the nano-X application. A GR_EVENT_FDINPUT event will be sent through the nano-X event queue when the specified file descriptor has data available to be read.

Parameters

TypeNameDescription
intfdThe file descriptor to monitor.

See Also

GrPrepareSelect(), GrServiceSelect(), GR_EVENT_FDINPUT,