summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-03 19:05:24 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-03 19:05:24 +0000
commita6a43a6e1ae6db190e224fd69bd8fa070e0f3a2a (patch)
tree1f1e0e30e51e54cbc0181688d17781e4f45971cd /io.c
parente1f79b174d3542843e1f010bc99007ff4efafd10 (diff)
downloadruby-a6a43a6e1ae6db190e224fd69bd8fa070e0f3a2a.tar.gz
ruby-a6a43a6e1ae6db190e224fd69bd8fa070e0f3a2a.tar.xz
ruby-a6a43a6e1ae6db190e224fd69bd8fa070e0f3a2a.zip
rdoc update.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/io.c b/io.c
index d9a14ba9e..6c9707ab4 100644
--- a/io.c
+++ b/io.c
@@ -1798,6 +1798,8 @@ io_read_nonblock(int argc, VALUE *argv, VALUE io)
* write(2) system call after O_NONBLOCK is set for
* the underlying file descriptor.
*
+ * It returns the number of bytes written.
+ *
* write_nonblock just calls write(2).
* It causes all errors write(2) causes: EAGAIN, EINTR, etc.
* The result may also be smaller than string.length (partial write).