Merge branch 'fdatasync' of https://github.com/kamalmarhubi/libc into merge

This commit is contained in:
Alex Crichton 2016-03-06 11:19:35 -08:00
commit 735863afba
2 changed files with 2 additions and 0 deletions

View File

@ -388,6 +388,7 @@ extern {
pub fn mkostemp(template: *mut ::c_char, flags: ::c_int) -> ::c_int;
pub fn mkostemps(template: *mut ::c_char, suffixlen: ::c_int, flags: ::c_int) -> ::c_int;
pub fn futimens(fd: ::c_int, times: *const ::timespec) -> ::c_int;
pub fn fdatasync(fd: ::c_int) -> ::c_int;
}
cfg_if! {

View File

@ -765,5 +765,6 @@ extern {
buf: *mut ::c_char,
buflen: ::size_t) -> *const passwd;
pub fn readdir(dirp: *mut ::DIR) -> *const ::dirent;
pub fn fdatasync(fd: ::c_int) -> ::c_int;
}