diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-12 06:07:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-12 06:07:48 +0000 |
commit | a4f7274423dcf7a7ce5a727e69c18fc2e83d40cc (patch) | |
tree | d56f7366323a32a9ee1274510038f6a70d6ca106 /ext/io | |
parent | 1cb21311533825d567c8c574d2311dbf4b0f14ff (diff) | |
download | ruby-a4f7274423dcf7a7ce5a727e69c18fc2e83d40cc.tar.gz |
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
Diffstat (limited to 'ext/io')
-rw-r--r-- | ext/io/wait/wait.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/io/wait/wait.c b/ext/io/wait/wait.c index 2a4a10306a..d166962332 100644 --- a/ext/io/wait/wait.c +++ b/ext/io/wait/wait.c @@ -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) |