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 | 4c4dd6ca316db1fec11bd60c01540a00da3e171b (patch) | |
tree | 1d4305f712d250ac3923947b5786588beb3e2c2d | |
parent | 5668437eaeeb5f567830af800861f7d4f7c1afb7 (diff) |
note EAGAIN on readpartial document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1286,7 +1286,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. |