Skip to content

Commit 72f5b39

Browse files
committed
Add futimes on Android
1 parent b01a39a commit 72f5b39

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

libc-test/semver/android.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2962,6 +2962,7 @@ ftello
29622962
ftruncate
29632963
ftruncate64
29642964
futimens
2965+
futimes
29652966
fwrite
29662967
gai_strerror
29672968
genlmsghdr

libc-test/semver/linux-gnu.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,6 @@ dlmopen
584584
endutxent
585585
explicit_bzero
586586
fgetspent_r
587-
futimes
588587
getauxval
589588
getentropy
590589
getgrent_r

libc-test/semver/linux-musl.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ aiocb
3434
clock_adjtime
3535
ctermid
3636
explicit_bzero
37-
futimes
3837
getauxval
3938
getloadavg
4039
lio_listio

libc-test/semver/linux.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2776,6 +2776,7 @@ fstatvfs64
27762776
ftello64
27772777
ftok
27782778
ftruncate64
2779+
futimes
27792780
genlmsghdr
27802781
getdomainname
27812782
getdtablesize

src/unix/linux_like/linux/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3442,10 +3442,6 @@ cfg_if! {
34423442
riovcnt: ::c_ulong,
34433443
flags: ::c_ulong,
34443444
) -> isize;
3445-
pub fn futimes(
3446-
fd: ::c_int,
3447-
times: *const ::timeval
3448-
) -> ::c_int;
34493445
}
34503446
}
34513447
}

src/unix/linux_like/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1795,6 +1795,10 @@ cfg_if! {
17951795
termp: *const termios,
17961796
winp: *const ::winsize,
17971797
) -> ::c_int;
1798+
pub fn futimes(
1799+
fd: ::c_int,
1800+
times: *const ::timeval
1801+
) -> ::c_int;
17981802
}
17991803
}
18001804
}

0 commit comments

Comments
 (0)