aboutsummaryrefslogtreecommitdiff
path: root/src/select.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/select.h')
-rw-r--r--src/select.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/select.h b/src/select.h
index b58f082..f2d2cc2 100644
--- a/src/select.h
+++ b/src/select.h
@@ -4,13 +4,10 @@
4* Select implementation 4* Select implementation
5* LuaSocket toolkit 5* LuaSocket toolkit
6* 6*
7* To make the code as simple as possible, the select function is 7* Each object that can be passed to the select function has to export
8* implemented int Lua, with a few helper functions written in C. 8* method getfd() which returns the descriptor to be passed to the
9* 9* underlying select function. Another method, dirty(), should return
10* Each object that can be passed to the select function has to export two 10* true if there is data ready for reading (required for buffered input).
11* methods: fd() and dirty(). Fd returns the descriptor to be passed to the
12* select function. Dirty() should return true if there is data ready for
13* reading (required for buffered input).
14* 11*
15* RCS ID: $Id$ 12* RCS ID: $Id$
16\*=========================================================================*/ 13\*=========================================================================*/