Tizen Native API
ecore_fd_handler_example.c

This example shows how to setup and use an fd_handler. See the explanation here.