On 1/17/02 1:29 AM, "Yukihiro Matsumoto" <matz / ruby-lang.org> wrote:

> Hi,
> 
> In message "Re: [RCR] #59 Add fsync method to IO class"
>   on 02/01/17, Steve Lumos <slumos / slumos.lvcablemodem.com> writes:
> 
> |I think fsync() is old POSIX and should be in every *nix.  fdatasync()
> |is part of realtime extensions in more recent POSIX and doesn't exist
> |everywhere (not on FreeBSD, seems to be the same as fsync() on Linux
> |(though I'm not a Linux person, and on Solaris 8 you have to define
> |_XOPEN_REALTIME and link with librt to get it).
> 
> Thank you for useful information.  Does anybody know if they're
> available on Windows / Mac platforms?

Macs have fsync but not fdatasync

-- 
Times are bad. Children no longer obey their parents, and everyone is
writing a book. -Marcus Tullius Cicero, statesman, orator and writer
(106-43 BCE)