We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f527b0 commit a3d4884Copy full SHA for a3d4884
src/unix/bsd/openbsdlike/mod.rs
@@ -388,6 +388,7 @@ extern {
388
pub fn mkostemp(template: *mut ::c_char, flags: ::c_int) -> ::c_int;
389
pub fn mkostemps(template: *mut ::c_char, suffixlen: ::c_int, flags: ::c_int) -> ::c_int;
390
pub fn futimens(fd: ::c_int, times: *const ::timespec) -> ::c_int;
391
+ pub fn fdatasync(fd: ::c_int) -> ::c_int;
392
}
393
394
cfg_if! {
src/unix/solaris/mod.rs
@@ -765,5 +765,6 @@ extern {
765
buf: *mut ::c_char,
766
buflen: ::size_t) -> *const passwd;
767
pub fn readdir(dirp: *mut ::DIR) -> *const ::dirent;
768
769
770
0 commit comments