File tree 4 files changed +8
-0
lines changed 4 files changed +8
-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 @@ -159,6 +159,11 @@ extern {
159
159
pub fn ioctl ( fd : :: c_int , request : :: c_int , ...) -> :: c_int ;
160
160
pub fn eventfd ( init : :: c_uint , flags : :: c_int ) -> :: c_int ;
161
161
pub fn ptrace ( request : :: c_int , ...) -> :: c_long ;
162
+ pub fn openpty ( amaster : * mut :: c_int ,
163
+ aslave : * mut :: c_int ,
164
+ name : * mut :: c_char ,
165
+ termp : * mut termios ,
166
+ winp : * mut :: winsize ) -> :: c_int ;
162
167
}
163
168
164
169
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