-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: clarify availability of fdatasync
- fdatasync is apparently an undocumented system call on OS X. It is not exposed in the headers, resulting in an implicit function declaration warning. It links, however, and there are no complaints about it being broken, so I am leaving it alone for now. - fdatasync is available on Linux and apparently FreeBSD. This leaves Windows as the only major platform supported by Lwt that does not have fdatasync. As a side note, fsync on OS X seems not to guarantee that data has actually reached disk. We may need to add a call fnctl(fd, F_FULLSYNC) to the implementation of Lwt_unix.fsync on OS X.
- Loading branch information
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters