OS X has no public API for fdatasync. And as pointed out in `man fsync(2)`: For applications that require tighter guarantees about the integrity of their data, Mac OS X provides the F_FULLFSYNC fcntl. The F_FULLFSYNC fcntl asks the drive to flush all buffered data to permanent storage. Applications, such as databases, that require a strict ordering of writes should use F_FULLFSYNC to ensure that their data is written in the order they expect. Please see fcntl(2) for more detail. |
||
|---|---|---|
| .. | ||
| uv-private | ||
| uv.h | ||