diff options
author | Tanaka Akira <[email protected]> | 2024-06-02 23:24:08 +0900 |
---|---|---|
committer | Tanaka Akira <[email protected]> | 2024-06-02 23:24:08 +0900 |
commit | d05d03b1866944e3d8f82d809b3370e7cf5e253e (patch) | |
tree | be781668d80caab0c2da8b1e0329b8e0141f0f07 /io.c | |
parent | e1c9e6244b38f43496400863f610e53c36709589 (diff) |
IO.select accepts a numeric value as timeout.
[DOC] IO.select accepts a numeric value as timeout, not only an integer.
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10890,7 +10890,8 @@ rb_io_advise(int argc, VALUE *argv, VALUE io) * Each of the arguments +read_ios+, +write_ios+, and +error_ios+ * is an array of IO objects. * - * Argument +timeout+ is an integer timeout interval in seconds. + * Argument +timeout+ is a numeric value (such as integer or float) timeout + * interval in seconds. * * The method monitors the \IO objects given in all three arrays, * waiting for some to be ready; |