fdatasync()
fdatasync()
- Subject: fdatasync()
- From: Axel Luttgens <email@hidden>
- Date: Wed, 11 Nov 2009 23:19:25 +0100
Hello,
Does somebody know the current status of fdatasync()?
No definition is provided in any header file for that function, and some parts in xnu's code seem to explicitely disable its functionality.
Moreover, unistd.h defines _POSIX_SYNCHRONIZED_IO as having value -1.
But the symbol seems to exist in libSystem (this wasn't the case with earlier versions of Mac OS X, for example Tiger).
As a result, it is possible to compile code that invokes that function, but some quick tests tend to show that the function behaves at best as a kind of noop.
TIA,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden