File tree 3 files changed +3
-0
lines changed
3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -593,6 +593,7 @@ extern {
593
593
timeout : * const :: timespec ) -> :: c_int ;
594
594
pub fn sigwaitinfo ( set : * const sigset_t ,
595
595
info : * mut siginfo_t ) -> :: c_int ;
596
+ pub fn fdatasync ( fd : :: c_int ) -> :: c_int ;
596
597
}
597
598
598
599
cfg_if ! {
Original file line number Diff line number Diff line change @@ -388,6 +388,7 @@ extern {
388
388
pub fn mkostemp ( template : * mut :: c_char , flags : :: c_int ) -> :: c_int ;
389
389
pub fn mkostemps ( template : * mut :: c_char , suffixlen : :: c_int , flags : :: c_int ) -> :: c_int ;
390
390
pub fn futimens ( fd : :: c_int , times : * const :: timespec ) -> :: c_int ;
391
+ pub fn fdatasync ( fd : :: c_int ) -> :: c_int ;
391
392
}
392
393
393
394
cfg_if ! {
Original file line number Diff line number Diff line change @@ -765,5 +765,6 @@ extern {
765
765
buf : * mut :: c_char ,
766
766
buflen : :: size_t ) -> * const passwd ;
767
767
pub fn readdir ( dirp : * mut :: DIR ) -> * const :: dirent ;
768
+ pub fn fdatasync ( fd : :: c_int ) -> :: c_int ;
768
769
}
769
770
You can’t perform that action at this time.
0 commit comments