| 1 |
#ifndef SELECT_H |
| 2 |
#define SELECT_H |
| 3 |
/*=========================================================================*\ |
| 4 |
* Select implementation |
| 5 |
* LuaSocket toolkit |
| 6 |
* |
| 7 |
* Each object that can be passed to the select function has to export |
| 8 |
* method getfd() which returns the descriptor to be passed to the |
| 9 |
* underlying select function. Another method, dirty(), should return |
| 10 |
* true if there is data ready for reading (required for buffered input). |
| 11 |
\*=========================================================================*/ |
| 12 |
|
| 13 |
int select_open(lua_State *L); |
| 14 |
|
| 15 |
#endif /* SELECT_H */ |