Skip to content

Commit b8245e3

Browse files
committed
Expose futimens and utimensat on Apple platforms
1 parent 78d5392 commit b8245e3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/bsd/apple/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -2427,6 +2427,9 @@ extern {
24272427
len: *mut ::off_t,
24282428
hdtr: *mut ::sf_hdtr,
24292429
flags: ::c_int) -> ::c_int;
2430+
pub fn futimens(fd: ::c_int, times: *const ::timespec) -> ::c_int;
2431+
pub fn utimensat(dirfd: ::c_int, path: *const ::c_char,
2432+
times: *const ::timespec, flag: ::c_int) -> ::c_int;
24302433
pub fn openpty(amaster: *mut ::c_int,
24312434
aslave: *mut ::c_int,
24322435
name: *mut ::c_char,

0 commit comments

Comments
 (0)