summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-07 23:30:45 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-07 23:30:45 +0000
commit8488b62d59dde799a3a38b9daaf62a4f06755327 (patch)
tree2fe1bb28894159cfc01be8eb7085632f9dc0d8ef /io.c
parent5f5e0b7191f0ecf00f0c1718c9562fee6112f04a (diff)
downloadruby-8488b62d59dde799a3a38b9daaf62a4f06755327.tar.gz
update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/io.c b/io.c
index 58a23c9a19..e92c88117a 100644
--- a/io.c
+++ b/io.c
@@ -3850,10 +3850,10 @@ rb_io_syswrite(VALUE io, VALUE str)
/*
* call-seq:
- * ios.sysread(integer[, outbuf]) -> string
+ * ios.sysread(maxlen[, outbuf]) -> string
*
- * Reads <i>integer</i> bytes from <em>ios</em> using a low-level
- * read and returns them as a string. Do not mix with other methods
+ * Reads <i>maxlen</i> bytes from <em>ios</em> using a low-level
+ * read and returns them as a string. Do not mix with other methods
* that read from <em>ios</em> or you may get unpredictable results.
* If the optional <i>outbuf</i> argument is present, it must reference
* a String, which will receive the data.