ruby-changes:12148
From: akr <ko1@a...>
Date: Tue, 23 Jun 2009 01:26:01 +0900 (JST)
Subject: [ruby-changes:12148] Ruby:r23823 (trunk): update rdoc.
akr 2009-06-23 01:25:50 +0900 (Tue, 23 Jun 2009) New Revision: 23823 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23823 Log: update rdoc. Modified files: trunk/io.c Index: io.c =================================================================== --- io.c (revision 23822) +++ io.c (revision 23823) @@ -1294,11 +1294,13 @@ * 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 @@ * 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/