From 8488b62d59dde799a3a38b9daaf62a4f06755327 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 7 Aug 2010 23:30:45 +0000 Subject: update doc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'io.c') 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 integer bytes from ios using a low-level - * read and returns them as a string. Do not mix with other methods + * Reads maxlen bytes from ios using a low-level + * read and returns them as a string. Do not mix with other methods * that read from ios or you may get unpredictable results. * If the optional outbuf argument is present, it must reference * a String, which will receive the data. -- cgit v1.2.3