From 5202b22bfec6539620b310e4ea2cdb49fa251bba Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 22 Jun 2009 16:25:50 +0000 Subject: update rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'io.c') diff --git a/io.c b/io.c index eebaa09825..aa2d49a6b2 100644 --- a/io.c +++ b/io.c @@ -1294,11 +1294,13 @@ rb_io_set_sync(VALUE io, VALUE sync) * ios.fsync => 0 or nil * * Immediately writes all buffered data in ios to disk. - * Returns nil if the underlying operating system does not - * support fsync(2). Note that fsync differs from + * Note that fsync differs from * using IO#sync=. 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. + * + * NotImplementedError is raised + * if the underlying operating system does not support fsync(2). */ static VALUE @@ -1325,8 +1327,9 @@ rb_io_fsync(VALUE io) * ios.fdatasync => 0 or nil * * Immediately writes all buffered data in ios to disk. - * Returns nil if the underlying operating system does not - * support fdatasync(2). + * + * NotImplementedError is raised + * if the underlying operating system does not support fdatasync(2). */ static VALUE -- cgit v1.2.3