Merge branch 'fdatasync' of https://github.com/kamalmarhubi/libc into merge
This commit is contained in:
commit
735863afba
@ -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! {
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user