1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

update rdoc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-06-22 16:25:50 +00:00
parent 86b418c275
commit 5202b22bfe

11
io.c
View file

@ -1294,11 +1294,13 @@ rb_io_set_sync(VALUE io, VALUE sync)
* ios.fsync => 0 or nil
*
* Immediately writes all buffered data in <em>ios</em> to disk.
* Returns <code>nil</code> if the underlying operating system does not
* support <em>fsync(2)</em>. Note that <code>fsync</code> differs from
* Note that <code>fsync</code> differs from
* using <code>IO#sync=</code>. The latter ensures that data is flushed
* from Ruby's buffers, but doesn't not guarantee that the underlying
* operating system actually writes it to disk.
*
* <code>NotImplementedError</code> is raised
* if the underlying operating system does not support <em>fsync(2)</em>.
*/
static VALUE
@ -1325,8 +1327,9 @@ rb_io_fsync(VALUE io)
* ios.fdatasync => 0 or nil
*
* Immediately writes all buffered data in <em>ios</em> to disk.
* Returns <code>nil</code> if the underlying operating system does not
* support <em>fdatasync(2)</em>.
*
* <code>NotImplementedError</code> is raised
* if the underlying operating system does not support <em>fdatasync(2)</em>.
*/
static VALUE