Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
fdatasync()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fdatasync()



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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.