summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-11-28 10:47:42 +0000
committerbors <bors@rust-lang.org>2019-11-28 10:47:42 +0000
commit88f65876317f6e899cdea7880a4514774632aee4 (patch)
treed31d32aa8cb49c29b0f91d2f00b7c494a0f391e2
parent5130285ccd8e5bd87912e347d47e3185d064aa76 (diff)
parent223e7d340a21cd104d157438a630d0b9ccafa194 (diff)
downloadrust-libc-88f65876317f6e899cdea7880a4514774632aee4.tar.gz
Auto merge of #1607 - jclulow:futimens, r=gnzlbg
expose futimens() for illumos systems illumos has an implementation of `futimens()` which we should expose. I'm working on a broader set of [fixes for illumos](https://github.com/rust-lang/libc/compare/master...jclulow:illumos_fixes) in general, but that's going to take a lot more work to be ready so the test suite doesn't currently seem to function.
-rw-r--r--src/unix/solarish/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/solarish/mod.rs b/src/unix/solarish/mod.rs
index c8cca192d9..9f0372b20f 100644
--- a/src/unix/solarish/mod.rs
+++ b/src/unix/solarish/mod.rs
@@ -2157,6 +2157,7 @@ extern "C" {
path: *const ::c_char,
times: *const ::timeval,
) -> ::c_int;
+ pub fn futimens(dirfd: ::c_int, times: *const ::timespec) -> ::c_int;
pub fn utimensat(
dirfd: ::c_int,
path: *const ::c_char,