mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* io.c: fixed the wrong description of rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
57e50f7f88
commit
ef3ea2dd89
1 changed files with 6 additions and 2 deletions
8
io.c
8
io.c
|
@ -6318,8 +6318,12 @@ rb_io_stdio_file(rb_io_t *fptr)
|
|||
* <code>intern</code> is the internal encoding.
|
||||
* <code>fmode</code> must be combination of the directives. See
|
||||
* the description of class +IO+ for a description of the directives.
|
||||
* Changing reading/writing mode from the original io object is not
|
||||
* supported on some platforms, e.g. Windows.
|
||||
*
|
||||
* When the mode of original IO is read only, the mode cannot be changed to
|
||||
* be writable. Similarly, the mode cannot be changed from write only to
|
||||
* readable.
|
||||
* If such a wrong change is directed, timing where the error actually occurs
|
||||
* is different according to the platform.
|
||||
*
|
||||
* ==== Options
|
||||
* <code>opt</code> can have the following keys
|
||||
|
|
Loading…
Add table
Reference in a new issue