rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e36cfc749f
commit
616932fbdb
10
io.c
10
io.c
|
@ -1972,11 +1972,11 @@ rb_io_write_nonblock(VALUE io, VALUE str)
|
||||||
* <i>length</i> must be a non-negative integer or nil.
|
* <i>length</i> must be a non-negative integer or nil.
|
||||||
*
|
*
|
||||||
* If <i>length</i> is a positive integer,
|
* If <i>length</i> is a positive integer,
|
||||||
* It reads <i>length</i> bytes and
|
* it try to read <i>length</i> bytes.
|
||||||
* returns a string which is <i>length</i> bytes long.
|
* It returns nil or a string which length is 1 to <i>length</i> bytes.
|
||||||
* If EOF is met after 1 or more bytes read but before <i>length</i> bytes read,
|
* nil means it met EOF at beginning.
|
||||||
* a shorter string is returned.
|
* The 1 to <i>length</i>-1 bytes string means it met EOF after reading the result.
|
||||||
* If EOF is met at beginning, nil is returned.
|
* The <i>length</i> bytes string means it doesn't meet EOF.
|
||||||
*
|
*
|
||||||
* If <i>length</i> is omitted or is <code>nil</code>,
|
* If <i>length</i> is omitted or is <code>nil</code>,
|
||||||
* it reads until EOF.
|
* it reads until EOF.
|
||||||
|
|
Loading…
Reference in New Issue