summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-05-09 02:12:11 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-05-09 02:12:11 +0000
commit6e2ea65d4fa2777ee0b764dbca9f2e50acd27fbd (patch)
tree1d4305f712d250ac3923947b5786588beb3e2c2d
parent03cacdb6e4a5c86d9da56f080c9215427d5b68ce (diff)
downloadruby-6e2ea65d4fa2777ee0b764dbca9f2e50acd27fbd.tar.gz
ruby-6e2ea65d4fa2777ee0b764dbca9f2e50acd27fbd.tar.xz
ruby-6e2ea65d4fa2777ee0b764dbca9f2e50acd27fbd.zip
note EAGAIN on readpartial document.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index b3f5135c4..01ffb79a4 100644
--- a/io.c
+++ b/io.c
@@ -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.