mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
wait.c: fix rdoc
* ext/io/wait/wait.c (io_wait_writable): fix rdoc. no EOF to write. retursn nil when timeout, not self. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1cb2131153
commit
a4f7274423
1 changed files with 2 additions and 2 deletions
|
@ -151,8 +151,8 @@ io_wait_readable(int argc, VALUE *argv, VALUE io)
|
|||
* io.wait_writable -> IO
|
||||
* io.wait_writable(timeout) -> IO or nil
|
||||
*
|
||||
* Waits until IO writable is available or times out and returns self or
|
||||
* nil when EOF is reached.
|
||||
* Waits until IO is writable without blocking and returns +self+ or
|
||||
* +nil+ when times out.
|
||||
*/
|
||||
static VALUE
|
||||
io_wait_writable(int argc, VALUE *argv, VALUE io)
|
||||
|
|
Loading…
Reference in a new issue