From 57e50f7f885fe6ef51c84a0f341baaea00590218 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 20 Apr 2010 13:40:15 +0000 Subject: * io.c: rdoc. see [ruby-dev:40506]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'io.c') diff --git a/io.c b/io.c index c9ac80c816..f72e51f23e 100644 --- a/io.c +++ b/io.c @@ -2026,6 +2026,10 @@ io_read_nonblock(int argc, VALUE *argv, VALUE io) * Note that this doesn't guarantee to write all data in string. * The length written is reported as result and it should be checked later. * + * On some platforms such as Windows, write_nonblock is not supported + * according to the kind of the IO object. + * In such cases, write_nonblock raises Errno::EBADF. + * */ static VALUE @@ -6314,6 +6318,8 @@ rb_io_stdio_file(rb_io_t *fptr) * intern is the internal encoding. * fmode must be combination of the directives. See * the description of class +IO+ for a description of the directives. + * Changing reading/writing mode from the original io object is not + * supported on some platforms, e.g. Windows. * * ==== Options * opt can have the following keys -- cgit v1.2.3