Skip to content

Commit

Permalink
Auto merge of #2843 - joshtriplett:android-futimes, r=Amanieu
Browse files Browse the repository at this point in the history
Add futimes on Android
  • Loading branch information
bors committed Jul 13, 2022
2 parents 8dbd2c9 + 2a6ca0a commit 133531d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/android.txt
Expand Up @@ -2962,6 +2962,7 @@ ftello
ftruncate
ftruncate64
futimens
futimes
fwrite
gai_strerror
genlmsghdr
Expand Down
2 changes: 2 additions & 0 deletions src/unix/linux_like/android/mod.rs
Expand Up @@ -3213,6 +3213,8 @@ extern "C" {
pub fn reallocarray(ptr: *mut ::c_void, nmemb: ::size_t, size: ::size_t) -> *mut ::c_void;

pub fn pthread_getcpuclockid(thread: ::pthread_t, clk_id: *mut ::clockid_t) -> ::c_int;

pub fn futimes(fd: ::c_int, times: *const ::timeval) -> ::c_int;
}

cfg_if! {
Expand Down

0 comments on commit 133531d

Please sign in to comment.