diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-05-09 02:12:11 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-05-09 02:12:11 +0000 |
commit | 400fa512cfe7ba4da8bf44594f4db34421bf9cd9 (patch) | |
tree | bee25610c79e5f98d5e8194efdb132b23ca6fb59 /io.c | |
parent | 9b9de890dc38b004cee8f8da20f29ac4df6516d1 (diff) | |
download | ruby-400fa512cfe7ba4da8bf44594f4db34421bf9cd9.tar.gz |
note EAGAIN on readpartial document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1337,7 +1337,7 @@ io_getpartial(int argc, VALUE *argv, VALUE io) * r.readpartial(4096) #=> "ghi\n" "" "" * * Note that readpartial is nonblocking-flag insensitive. - * It blocks even if the nonblocking-flag is set. + * It blocks on the situation IO#sysread causes Errno::EAGAIN. * * Also note that readpartial behaves similar to sysread in blocking mode. * The behavior is identical when the buffer is empty. |