ev_io_init(ev_io*, callback, int fd, int events)
- Configure an ev_io watcher.
- The fd is the file descriptor to receive events for.
- The events is either EV_READ, EV_WRITE or EV_READ | EV_WRITE.
'misc. > libev & libeio' 카테고리의 다른 글
libeio - example: cp (0) | 2012.07.09 |
---|---|
libev - example: timer (0) | 2012.07.09 |
ANATOMY OF A WATCHER (0) | 2012.07.09 |
libev - some functions controlling the event loop (0) | 2012.07.08 |
libev, libeio (0) | 2012.07.08 |