diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-05-30 21:36:22 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-05-30 21:36:22 +0000 |
commit | 5ca1049ab47f3f9ff9157f71af9072f04a637500 (patch) | |
tree | 24fcb14f2890900a4a709312ab25bfc2c14a3939 /src/select.h | |
parent | c23240726e3044e3eaa32a82a999b754c08bc183 (diff) | |
download | luasocket-5ca1049ab47f3f9ff9157f71af9072f04a637500.tar.gz luasocket-5ca1049ab47f3f9ff9157f71af9072f04a637500.tar.bz2 luasocket-5ca1049ab47f3f9ff9157f71af9072f04a637500.zip |
Fine tuning the "require" business.
Diffstat (limited to 'src/select.h')
-rw-r--r-- | src/select.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/select.h b/src/select.h index de10ea4..b58f082 100644 --- a/src/select.h +++ b/src/select.h | |||
@@ -7,10 +7,10 @@ | |||
7 | * To make the code as simple as possible, the select function is | 7 | * To make the code as simple as possible, the select function is |
8 | * implemented int Lua, with a few helper functions written in C. | 8 | * implemented int Lua, with a few helper functions written in C. |
9 | * | 9 | * |
10 | * Each object that can be passed to the select function has to be in the | 10 | * Each object that can be passed to the select function has to export two |
11 | * group select{able} and export two methods: fd() and dirty(). Fd returns | 11 | * methods: fd() and dirty(). Fd returns the descriptor to be passed to the |
12 | * the descriptor to be passed to the select function. Dirty() should return | 12 | * select function. Dirty() should return true if there is data ready for |
13 | * true if there is data ready for reading (required for buffered input). | 13 | * reading (required for buffered input). |
14 | * | 14 | * |
15 | * RCS ID: $Id$ | 15 | * RCS ID: $Id$ |
16 | \*=========================================================================*/ | 16 | \*=========================================================================*/ |