From 400fa512cfe7ba4da8bf44594f4db34421bf9cd9 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 9 May 2006 02:12:11 +0000 Subject: note EAGAIN on readpartial document. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io.c') diff --git a/io.c b/io.c index c0bc351a01..0900392fda 100644 --- a/io.c +++ b/io.c @@ -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. -- cgit v1.2.3