summaryrefslogtreecommitdiff
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
commitdead0a4c5118a0f0836305a151ee49073fe70ad2 (patch)
tree1f1e0e30e51e54cbc0181688d17781e4f45971cd /io.c
parent8c321128d91fadb45c12bbbbd9637bf81f76be2a (diff)
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 d9a14ba9e9..6c9707ab48 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).