Skip to content
Snippets Groups Projects
Commit 549da8a7 authored by Alan Somers's avatar Alan Somers
Browse files

Define fdatasync on FreeBSD. It was introduced in FreeBSD 11.1.

parent 12bdc41b
No related branches found
No related tags found
No related merge requests found
......@@ -881,6 +881,7 @@ extern {
pub fn jail_set(iov: *mut ::iovec, niov: ::c_uint, flags: ::c_int)
-> ::c_int;
pub fn fdatasync(fd: ::c_int) -> ::c_int;
pub fn posix_fallocate(fd: ::c_int, offset: ::off_t,
len: ::off_t) -> ::c_int;
pub fn posix_fadvise(fd: ::c_int, offset: ::off_t, len: ::off_t,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment