io_rdoc2.diff

Roger Pack, 06/17/2011 06:35 AM

Download (1.63 KB)

View differences:

io.c (working copy)
5462 5462
 *  be passed <i>file</i> as an argument, and the File object will
5463 5463
 *  automatically be closed when the block terminates. In this instance,
5464 5464
 *  <code>File.open</code> returns the value of the block.
5465
 *  See <code>IO.new</code> for a list of values for the opt parameter.
5465 5466
 */
5466 5467

  
5467 5468
/*
......
5476 5477
 *  be passed <i>io</i> as an argument, and the IO object will
5477 5478
 *  automatically be closed when the block terminates. In this instance,
5478 5479
 *  <code>IO.open</code> returns the value of the block.
5480
 *  See <code>IO.new</code> for a description of values for the opt parameter.
5479 5481
 *
5480 5482
 */
5481 5483

  
......
6432 6434
 *  - "fmode:extern:intern".
6433 6435
 *  <code>extern</code> is the external encoding name for the IO.
6434 6436
 *  <code>intern</code> is the internal encoding.
6435
 *  <code>fmode</code> must be combination of the directives. See
6436
 *  the description of class +IO+ for a description of the directives.
6437
 *  <code>fmode</code> must be a file open mode string. See
6438
 *  the description of class +IO+ for a description of mode string directives.
6437 6439
 *
6438 6440
 *  When the mode of original IO is read only, the mode cannot be changed to
6439 6441
 *  be writable.  Similarly, the mode cannot be changed from write only to
......
6569 6571
 *  These mode and permission bits are platform dependent;
6570 6572
 *  on Unix systems, see <code>open(2)</code> for details.
6571 6573
 *
6572
 *  Optional _opt_ parameter is same as in <code.IO.open</code>.
6574
 *  Optional _opt_ parameter is same as in <code>IO.open</code>.
6573 6575
 *
6574 6576
 *  === Examples
6575 6577
 *